📄 exp03.asm
字号:
;File Name :exp03.asm
;learn how to operate the I/O ports
;get some knowledge of the rts.lib file
;in the I/O space 0x0000=>8 switches
; 0x0001=>8 LEDs
.mmregs
.global _main
.text
_main:
stm 3100h,sp
stm 1000h,ar1 ;define the address
portr 8000h,*ar1
nop
nop
portw *ar1,8001h
nop
nop
b _main
nop
nop
.end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -