-
Tabla multiplicar
.model 小
64.stack
.data
num db"Introdusca 联合国第 $",10,13 ;可变段 reslpaldar el número digitado por el usuario。
.code
属于:
mov ax @data
mov ds、 ax
mov 啊,09 h
lea dx num
int 21 h
mov 啊,01h ;Pedir el número al usuario
int 21 h
潜艇基地,30 h
mov num,al ; guardamos el número digitado en num 中。
mov cl,01 h; Iniciamos el 康塔多 en 1
mov cx 10
tabla:
mov al,num ; movemos al número guardado en num AL
mul cl ; se multiplica CL por AL,el resultado se 瓜尔达 en AL
aam ; ajuste ASCII 段 multiplicación
mov bx,ax;Se respalda la multiplicación BX el
mov 啊,02 h
mov dl,10,13 ; imprimimos 联合国非裔
int 21 h
mov 啊,02 h
mov dl,bh ; Imprime la 单方面阿尔塔德尔登记 BX,si el número es 市长德 9 imprime las decenas
添加 dl,30 h;Suma 30 段 imprimir el número 真实。
int 21 h
mov dl、 bl ; imprime la 单方面巴哈德 BX o la
- 2022-01-25 14:43:48下载
- 积分:1
-
设计一种自动洗衣机的程序控制器,在启动后先进水,等到达高水位后,启动洗衣马达转动4min,如在洗衣过程中发现水位低于高水位,则停止洗衣马达转动并报警,并在水位到...
设计一种自动洗衣机的程序控制器,在启动后先进水,等到达高水位后,启动洗衣马达转动4min,如在洗衣过程中发现水位低于高水位,则停止洗衣马达转动并报警,并在水位到达高水位后再次启动马达。洗衣结束后则启动排水开关,待水位到达低水位后,则启动脱水马达,转动2min。如此重复三次,要求在每一动作之间有2s的间隔。
高水位,低水位为水位传感器,用两个开关模拟,当水位高于高水位或低于低水位时,两个开关的状态分别为0 。启动开关用一个开关表示。进水、排水、洗衣马达、脱水马达及报警分别用一个发光二极管表示。本实验只需用可编程并行接口电路的A口。其硬件接口如下图所示。也可采用可编程逻辑器件进行设计。
-Design of an automatic washing process controller, after commencement of advanced water, and so on to reach the high water mark, start laundry motor rotation 4min, such as in laundry water level lower than that found during the high water mark, then the motor stops rotating laundry and alarm, and the the water level reaches the high water mark again to start the motor. Laundry is started after the end of the drainage switch, when the water level reaches the low water level, then start the dehydration motors, rotating 2min. Repeat three times, each action requires the interval between the 2s.
High water, low water level as water level sensors, with two analog switches, when the water
- 2023-04-30 10:55:03下载
- 积分:1
-
2 分类指令
在介绍各条分类指令之前,将指令中的操作数及注释中的符号说明如下。
Rn:当前指定的工作寄存器组中的Ro...
2 分类指令
在介绍各条分类指令之前,将指令中的操作数及注释中的符号说明如下。
Rn:当前指定的工作寄存器组中的Ro-R7(其中n=0,1,2,…,7)。
Ri:当前指定的工作寄存器组中的RO,R1(其中i=0,1)。
(Ri):Ri间址寻址指定的地址单元。
((Ri)):Ri间址寻址指定地址单元中的内容。
dir:8位直接字节地址(在片内RAM和SFR存储空间中)。
#data8:8位立即数。
#datal6:16位立即数。
addrl6:16位地址值。
addrll:11位地址值。
-2 classification of instruction in the introduction of each classification of instructions before the operation instructions and notes the number of symbols are described below. Rn: the current work of the designated register group Ro-R7 (in which n = 0,1,2, ..., 7). Ri: the current register group specified in the RO, R1 (in which i = 0,1). (Ri): Ri addressing inter-site unit
- 2022-02-07 17:01:45下载
- 积分:1
-
使用18b20+lcd1602的温控器汇编源程序
使用18b20+lcd1602的温控器汇编源程序-Use 18b20+ Lcd1602 Thermostat compilation of source code
- 2022-03-26 19:05:49下载
- 积分:1
-
linux驱动开发linux_drive_the_development.rar中文版
linux驱动开发linux_drive_the_development.rar中文版-linux driver development linux_drive_the_development.rar Chinese version
- 2023-02-22 22:05:04下载
- 积分:1
-
小灯控制程序,流水灯控制程序,四种变化方式。
小灯控制程序,流水灯控制程序,四种变化方式。-Small lamp control procedures, water lamp control procedures, four types of changes in the way.
- 2022-08-14 00:52:09下载
- 积分:1
-
compiled code, dos system function, shows black
汇编代码,dos系统功能调用,显示黑白工字-compiled code, dos system function, shows black-and-white character
- 2022-01-22 04:00:17下载
- 积分:1
-
8051ASM汇编源代码。
8051asm 汇编器source code.-8051asm assembler source code.
- 2022-10-11 07:25:03下载
- 积分:1
-
引导扇区源代码注释,用于描述系统的引导过程
引导扇区源代码注释,用于描述系统的引导过程-Boot sector source code annotations, used to describe the system boot process
- 2022-02-09 12:20:34下载
- 积分:1
-
ST套件产生汽车防盗器报警声,本实例的目的是让大家学会用单片机产生声音的方法,学会计算程序所用时间 本实例的功能是能用16F84产生汽车防盗器的报警声,频率分两...
ST套件产生汽车防盗器报警声,本实例的目的是让大家学会用单片机产生声音的方法,学会计算程序所用时间 本实例的功能是能用16F84产生汽车防盗器的报警声,频率分两个0.1s第一个
0.1S频率从1.8K-3.5K匀速增加第二个0.1S频率从3.5K-1.8K匀速减少,
程序复位后,按S2喇叭叫两声,按S3喇叭叫15秒,中途可按S5停止.
PIC单片机
烧写时应注意:配置位已经在程序中写明,加载HEX文件时会自动加载,烧写时不用再手动设置配置位。
实验时请注意套件跳线选择;-pic
- 2023-08-29 13:20:02下载
- 积分:1