⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 寻址.asm

📁 模拟实际的交通灯程序 1加到100 8086模拟器2.05
💻 ASM
字号:
#make_COM#

; COM file is loaded at CS:0100h
; (the value of CS is set by Operating System)
ORG 100h

;预先赋值,单步执行
mov bx,2000h
mov ds,bx
mov bx,0100h
mov si,0002h
mov ds:[0100h],12h
mov ds:[0101h],34h
mov ds:[0102h],56h
mov ds:[0103h],78h
mov ds:[1200h],2Ah
mov ds:[1201h],4Ch
mov ds:[1202h],0B7h
mov ds:[1203h],65h
;赋值以后使用菜单中view→External Memory Viewer查看存储器数据段的赋值情况


mov ax,1200h    ;ax=1200h
mov ax,bx       ;ax=0100h
mov ax,[1200h]  ;ax=4C2Ah
mov ax,[bx]     ;ax=3412H
mov ax,1100h[bx];ax=4C2Ah
mov ax,bx[si]   ;ax=7856h
mov ax,1100h bx[si];ax=65B7h

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -