Assembly Program for multiplying of two 8 bit number
Assembly Program for multiplying of two 8 bit number –
Number N1 ≤ FF
Number N2 ≤ FF
F*F = 225 = EF
FF*FF = FE 01
Program –
Program member location | code | instructions | comment |
F 000 H | 2100 F8 | LXIH , F800H | Point to member location |
F 003 H | 46 | mov B , M | Read N1 into Reg B |
F 004 H | 23 | INX , H | Point to next member location |
F 005 H | 4E | Mov C , M | Read N2 into reg c |
F 006 H | A7 | XRAA | (A) =00 |
F 007 H | 57 | Mov D , A | (D) =00 |
F 008 H | 37 | STC , (Set carry) | (cy) = 01 (set) |
F 009 H | 3F | CNC , Complement | (cy) = 00 (reset) |
F 00A H | 80 | ADD B | (A) = (A) + (B) |
F 00B H | D2 , OF , FO | JNC , DNT , ADD | IF CY ≠ 01. then don’t increment (D) |
F 00E H | 14 | INR D | IF CY =0 THEN (D) = (D) +1 |
F 00F H | 00 | DCRC | (C) = (C) -1 |
F 010 H | C2 , 08 , F0 | INZ Loop | if co ≠ 0 Co to ADD member |
F 013 H | 23 H | INX H | Point to next location |
F 014 H | 77 | mov M , A | store (A) into member |
F 015 H | 23 | INX H | Point to next member |
F 016 H | 72 | mov M , D | Store (D) into member |
F 017 H | 76 | HLT | stop |
Multiplying of two 8 bit number
Sustain the excellent job and delivering in the crowd!
https://kreativo.kz/
Really enjoyed this article, thanks for the great content! Oracle Fusion Financials Online Training
Some wonderful images. Fantastic colors.
precio de tadalafilo 5 mg
Hey there! This post couldn’t be written any better! Reading through this post reminds me of my good old room mate! He always kept chatting about this. I will forward this article to him. Fairly certain he will have a good read. Thank you for sharing!
Cryptocurrency casino user interface thoughts on Reddit
Reddit’s insights into crypto casino technology
Wow that was odd. I just wrote an very long comment but after I clicked submit my comment didn’t show up. Grrrr… well I’m not writing all that over again. Anyhow, just wanted to say great blog!
Cryptocurrency casino customer service discussions on Reddit
Thanks , I have just been searching for info approximately this topic for a while and yours is the greatest I’ve discovered till now. However, what about the bottom line? Are you sure concerning the supply?
telegram online pokies australia
This website definitely has all the info I needed concerning this subject and didn’t know who to ask.
Reddit’s recommendations for VIP programs in USA crypto casinos
Nice Webpage, Keep up the excellent work. Thanks for your time.
https://www.google.com.eg/url?q=https://comprarcialis5mg.com
Good web page you have got in here.
Шаврин Александр Валерьевич Алматы
Glad to be one of many visitors on this awful web site : D.
Passion the website– really user friendly and whole lots to see!
http://htoglobal.com/bbs/board.php?bo_table=free&wr_id=1000339