shell两个数字相乘_使用8086微处理器将两个16位数字相乘而不带进位
shell兩個數字相乘
Problem statement:
問題陳述:
To perform multiplication operation between 2 16bit numbers with carry using 8086 Microprocessor.
使用8086微處理器在2個16位數字之間進行帶進位的乘法運算。
Algorithm:
算法:
Load the first data into register AX from memory.
從存儲器將第一個數據加載到寄存器AX中。
Load the second data into register BX from memory.
將第二個數據從內存加載到寄存器BX中。
Multiply content of register BX with the content of register AX.
將寄存器BX的內容與寄存器AX的內容相乘。
Now load the result value from AX to memory.
現在將結果值從AX加載到內存。
Move data from DX to AX.
將數據從DX移動到AX。
Now Load the data from AX to memory.
現在,將數據從AX加載到內存。
Program:
程序:
MOV AX, 2050MOV BX, 2052MUL BXMOV 2054, AXMOV AX, DXMOV 2056, AXHLTObservation:
觀察:
INPUT: 2050:042051:032052:072053:08 OUTPUT: 2054:002055:1C2056:35Hence we successfully multiplied two 16 bits numbers using carry.
因此,我們成功地使用進位將兩個16位數字相乘 。
翻譯自: https://www.includehelp.com/embedded-system/multiplication-of-two-16-bits-numbers-without-carry-using-8086-microprocessor.aspx
shell兩個數字相乘
總結
以上是生活随笔為你收集整理的shell两个数字相乘_使用8086微处理器将两个16位数字相乘而不带进位的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: treeset java_Java Tr
- 下一篇: 凯撒密码pythin密码_凯撒密码术