-
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
-
2008011216131742
智能小车 完整报告 加程序 汇编语言 功能齐全(Smart car full report plus a full-featured assembly language procedures)
- 2008-08-05 23:55:10下载
- 积分:1
-
4
说明: 数码管滚动显示.让数码管在不听的滚动显示(Scrolling LED. So do not listen to the digital control in the rolling display)
- 2009-07-16 08:57:50下载
- 积分:1
-
汇编全接触
说明: 介绍汇编语言,属于教程一类的,想学习对硬件编程的朋友可以下载来看看。直接解压就可,CHM文件。(introduction to the compilation of language, belong to a category Guide, want to learn programming for the hardware can be downloaded friends to see. Decompression can be direct, CHM file.)
- 2005-10-14 23:37:13下载
- 积分:1
-
80X86
说明: 80x86汇编讲解,主要针对保护模式编程序,对搞汇编的是一个提高(80x86 on the compilation, mainly aimed at protection mode programmed to engage in the compilation is a raise)
- 2006-02-05 16:38:48下载
- 积分:1
-
motor
68HC12 example code - Driving a dc motor using PWM format
- 2015-08-06 11:04:21下载
- 积分:1
-
dianziyinyue
电子音乐发生器,可实现播放、录音、放音、演奏等功能,并有各种菜单提示用户下一步操作(Electronic music generator, enabling playback, recording, playback, playing, etc., and a variety of menu prompts the user do next)
- 2013-07-07 01:02:16下载
- 积分:1
-
ADCPDMA
AD 转换的DMA模式 值得一试 有别与其他操作(AD conversion DMA mode)
- 2012-12-27 18:54:10下载
- 积分:1
-
汇编
说明: 根据输入的字母进行大小写转换(若是输入小写字母则转换成为大写字母,反之),若输入的不是字母则提示出错并重新输入。
分别统计下列20个数中小于零、大于等于零且小于等于5、大于5的数据个数,分别存入字节单元RES1、RES2和RES3中。(BUF DB -1, 20, 3, 30, -5, 15, 100, -54, 0, 4, 78, 99, -12, 32, 3, 23, -7, 24, 60,-51)
从键盘输入两个2位十进制整数转换成组合BCD码后,把这两个数相加,结果以十进制形式显示在屏幕上。
编制一程序,从键盘输入两个长度不同的字符串,设字符串长度小于25个字符。要求在屏幕上以右边对齐的形式显示出来。(According to the input letters, make case conversion (if you input lowercase letters, it will be converted to uppercase letters, otherwise), if you do not input letters, you will be prompted with an error and re input.
Count the number of data less than zero, greater than or equal to zero, less than or equal to 5 and greater than 5 in the following 20 numbers respectively, and store them in byte units res1, res2 and res3 respectively.
After inputting two 2-digit decimal integers from the keyboard and converting them into combined BCD code, the two numbers are added and the result is displayed on the screen in decimal form.
Write a program, input two strings of different length from the keyboard, and set the string length to be less than 25 characters. It is required to be displayed on the screen in the form of right alignment.)
- 2020-10-08 17:07:36下载
- 积分:1
-
ACATSP
蚁群算法,MATLAB求最短路径,解放军信息工程大学一个老师编的matlab程序(Ant Colony Algorithm for Traveling Salesman Problem)
- 2009-09-05 20:51:13下载
- 积分:1