-
2:十进制数的显示
说明: 十进制数的显示,就是显示十进制数字 number
DATA SEGMENT
DECIMAL: DW 606D ; 准备输出的十进制数,这里选择我的寝室号 606
DATA ENDS
STACKS SEGMENT STACK
DW 4 DUP(0) ; 开辟四个字的堆栈,初始化为 0
STACKS ENDS
CODES SEGMENT
ASSUME CS:CODES,DS:DATAS,SS:STACKS
START:
MOV AX,DATA
MOV DS,AX ; 初始化 DS
;--------------------------------------------------------------
LEA BX,DECIMAL ; 取出准备输出的十进制数 606 的偏移地址,可以使用 OFFSET 代替
MOV AX,[BX] ; 将数放进 AX
MOV BX,0AH ; 给 BX 初始化为 10(The display of decimal number is the display of decimal number.)
- 2019-06-11 18:29:48下载
- 积分:1
-
asmdaima
汇编语言程序的编写虽然有一定的难度,但是它是一门低级的语言,有很强的基础性作用,具有广泛的用途.(Assembly Language Programming in spite of certain difficulties, but it is a low-level language, a strong foundation, with a wide range of functions.)
- 2007-06-14 23:51:10下载
- 积分:1
-
51-DS18B20-temperature-sensor
DS18B20温度传感器的51汇编程序,器件资料文档用搜索找,没上传。其中当然少不了PROTEUS的仿真,KEIL+PROTEUS联合实现。而且实现了多个器件级连的功能,程序当然可以继续优化的(51 assembler DS18B20 temperature sensor, the device information document with a search to find, no upload. Which of course PROTEUS simulation, KEIL+PROTEUS jointly. And multiple devices cascaded function, the program can of course continue to optimize)
- 2013-04-05 17:09:36下载
- 积分:1
-
FmXuling
频率调制修改版,完整能运行,不但过程清晰,而且有图,易懂,MATLAB语言编写,实用(Modified version of frequency modulation, complete to run, not only the process clear, and there are maps, easy to understand, MATLAB language, practical)
- 2011-09-18 19:17:19下载
- 积分:1
-
faguangce
自收发光电检测,发射时间维持5ms左右,从PORT5读入光电接收管状态,不断进行自收发光电信号检测(zi receive light and )
- 2013-04-10 20:43:10下载
- 积分:1
-
汇编语言-屏保
编写一个在屏幕上连续显示"Welcome…"的信息,要求显示颜色和显示位置都是随机的。在新位置显示时,原位置的信息抹去。
- 2022-02-10 05:33:17下载
- 积分:1
-
snake
this is the game snake an asm language
- 2009-07-03 00:35:18下载
- 积分:1
-
PMSM3_1(sprc107)
- 2005-12-15 19:45:09下载
- 积分:1
-
jiami
数字加密程序
输入一个字符串,对其进行加密并输入(加密算法自选)(Digital encryption, enter a string, and enter their encryption (encryption algorithm for on-demand))
- 2008-05-19 23:13:36下载
- 积分:1
-
int
windows int IRQ3中断是使用(windows int IRQ3 interrupt is using)
- 2013-12-17 22:02:58下载
- 积分:1