MTK8088单板机串口下载运行测试程序
1.待测程序
CPU "8086.TBL" ; CPU TABLE HOF "INT8" ; HEX OUTPUT FORMAT ORG 400H START MOV AL,1 LOOP OUT 0,AL ROL AL,1 CALL DELAY JMP LOOP DELAY MOV CX,3000H LOOP $ RET END2.DOSBOX编译方法
To use c32 under DOS prompt d:\c32\c32c pgm1.asm -h pgm1.hex -l pgm1.lst Source code is pgm1.asm The hex file will be pgm1.hex and the list file will be pgm1.lst For newer Windows, use DOSBOX for dos command emualtor0000 CPU "8086.TBL" ; CPU TABLE 0000 HOF "INT8" ; HEX OUTPUT FORMAT 0400 ORG 400H 0400 B001 START MOV AL,1 0402 E600 LOOP OUT 0,AL 0404 D0C0 ROL AL,1 0406 E80200 CALL DELAY 0409 EBF7 JMP LOOP 040B B90030 DELAY MOV CX,3000H 040E E2FE LOOP $ 0410 C3 RET 0000 END 040B DELAY 0402 LOOP 0400 START3.编译结果
4.
