LODSB | = | MOV AL , [SI] INC(DEC) SI |
---|
-A 100 15F2:0100 MOV BYTE PTR[200] , 41 15F2:0105 MOV SI , 200 15F2:0108 CLD 15F2:0109 LODSB 15F2:010A -G =100 10A AX=0041 BX=0000 CX=0000 DX=0000 SP=FFEE BP=0000 SI=0201 DI=0000 DS=15F2 ES=15F2 SS=15F2 CS=15F2 IP=010A NV UP EI PL NZ NA PO NCまず、メモリに 41 というバイト値をストアします
STOSB | = | MOV [DI] , AL INC(DEC) DI |
---|
-A 100 15F2:0100 MOV AX , 0 15F2:0103 MOV DI , 200 15F2:0106 MOV CX , 80 15F2:0109 CLD 15F2:010A REP STOSW 15F2:010C -G =100 10C AX=0000 BX=0000 CX=0000 DX=0000 SP=FFEE BP=0000 SI=0000 DI=0300 DS=15F2 ES=15F2 SS=15F2 CS=15F2 IP=010C NV UP EI PL NZ NA PO NC -D 200 15F2:0200 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................ 15F2:0210 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................ 15F2:0220 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................ 15F2:0230 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................ 15F2:0240 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................ 15F2:0250 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................ 15F2:0260 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................ 15F2:0270 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................ -D 2F0 301 15F2:02F0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................ 15F2:0300 4B 69 Kiどうでしょうか、ワード単位でAXレジスタの内容を80回ストアしました