Changeset 76cec1e in mainline for arch/ia32/src/asm.s
- Timestamp:
- 2005-07-15T21:57:30Z (21 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b4a4c5e3
- Parents:
- e41c47e
- File:
-
- 1 edited
-
arch/ia32/src/asm.s (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/src/asm.s
re41c47e r76cec1e 96 96 push %ds 97 97 push %es 98 98 99 99 # we must fill the data segment registers 100 100 movw $16,%ax 101 101 movw %ax,%ds 102 102 movw %ax,%es 103 103 104 104 movl $(\i),%edi 105 105 pushl %ebp … … 114 114 popa 115 115 pop %ebp 116 117 iret118 116 117 iret 118 119 119 .if (\n-\i)-1 120 120 handler "(\i+1)",\n … … 180 180 movl %esp,%ebp 181 181 pusha 182 182 183 183 movl 8(%ebp),%edx 184 184 movl 12(%ebp),%eax 185 185 outb %al,%dx 186 186 187 187 popa 188 188 pop %ebp … … 198 198 movl %esp,%ebp 199 199 pusha 200 200 201 201 movl 8(%ebp),%edx 202 202 movl 12(%ebp),%eax 203 203 outw %ax,%dx 204 204 205 205 popa 206 206 pop %ebp … … 216 216 movl %esp,%ebp 217 217 pusha 218 218 219 219 movl 8(%ebp),%edx 220 220 movl 12(%ebp),%eax 221 221 outl %eax,%dx 222 222 223 223 popa 224 224 pop %ebp … … 240 240 movl %esp,%ebp 241 241 pusha 242 242 243 243 cld 244 244 movl CNT(%ebp),%ecx 245 245 movl DST(%ebp),%edi 246 movl SRC(%ebp),%esi 247 246 movl SRC(%ebp),%esi 247 248 248 rep movsb %ds:(%esi),%es:(%edi) 249 249 250 250 popa 251 251 pop %ebp … … 266 266 movl %esp,%ebp 267 267 pusha 268 268 269 269 cld 270 270 movl CNT(%ebp),%ecx 271 271 movl DST(%ebp),%edi 272 272 movl X(%ebp),%eax 273 273 274 274 rep stosb %al,%es:(%edi) 275 276 popa275 276 popa 277 277 pop %ebp 278 278 ret … … 292 292 movl %esp,%ebp 293 293 pusha 294 294 295 295 cld 296 296 movl CNT(%ebp),%ecx 297 297 movl DST(%ebp),%edi 298 298 movl X(%ebp),%eax 299 299 300 300 rep stosw %ax,%es:(%edi) 301 302 popa301 302 popa 303 303 pop %ebp 304 304 ret … … 321 321 322 322 pusha 323 323 324 324 cld 325 325 movl CNT(%ebp),%ecx 326 326 movl DST(%ebp),%edi 327 movl SRC(%ebp),%esi 328 327 movl SRC(%ebp),%esi 328 329 329 repe cmpsb %es:(%edi),%ds:(%esi) 330 330 movl %ecx,(%ebp)
Note:
See TracChangeset
for help on using the changeset viewer.
