?? test.asm
字號:
; http://gforge.openchip.org/projects/a86
;
; First Program being assembled and executed on a86 (FPGA implementation)
; (earlier it was only either simulation run or machine code programs)
;
; Increment AX, Write to Port (0x00FF)
; Delay some NOPs, repeat
; The effect is visible flashing on LEDs at higher Port pins
;
;
CPU 8086
NOP
MOV AX,0ff00h
SAHF
NOP
MOV AX,[BX+0h]
MOV AX,[BP]
MOV AX,[SI]
MOV AX,[DI]
NOP
lab1:
OR ax,2345h
NOP
NOP
AND ax,00ffh
NOP
NOP
AND dx,0
OR dx,1234h
INC ax
INC bx
INC cx
INC dx
MOV cx,3
lab2:
NOP
LOOP lab2
lab3:
NOP
JMP lab3
NOP
NOP
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -