Page 1 of 1

Question 8 Consider the following C++ program. Write an equivalent Basic Computer assembly language program. void main()

Posted: Fri May 20, 2022 5:12 pm
by answerhappygod
Question 8 Consider The Following C Program Write An Equivalent Basic Computer Assembly Language Program Void Main 1
Question 8 Consider The Following C Program Write An Equivalent Basic Computer Assembly Language Program Void Main 1 (16.36 KiB) Viewed 45 times
Question 8 Consider The Following C Program Write An Equivalent Basic Computer Assembly Language Program Void Main 2
Question 8 Consider The Following C Program Write An Equivalent Basic Computer Assembly Language Program Void Main 2 (21.3 KiB) Viewed 45 times
Question 8 Consider The Following C Program Write An Equivalent Basic Computer Assembly Language Program Void Main 3
Question 8 Consider The Following C Program Write An Equivalent Basic Computer Assembly Language Program Void Main 3 (26.37 KiB) Viewed 45 times
Question 8 Consider the following C++ program. Write an equivalent Basic Computer assembly language program. void main() int X = 90, Y = 50, z = 20: int TOT = 0, DIF = 100; TOT = X + Y: DIF = DIF-Z: TOT = TOT + DIP

Which of the following will be the output of the following program: CLE LDAT CIL CLA SZE LDA A ADD B STAC HLT T, HEX FOOO A, HEX A000 B, HEX OOBO CHex 0000

The program in a computer compares two unsigned cumbers A and using the instruction CMP Where AFO and B14 Select three of the conditional branch instructions whose conditions are evaluated to TRUE Mnemonic Branch condition Tested condition BZ Branch i zoro 2+1 ENZ Branch if not zero Z 0 BC Branch if carry C-1 BNC Branch if no carry CO BP Branch if plus S0 BM Branch if minus S1 BV Branch of overflow V=1 BNV Bronchitno overflow V=0 Unsigned compare conditions (A-B) BHI Branch of higher AB BHE Branch if higher or equal ΑΣΒ GLO Branch if lower AKB BLOE Bronchit lower or equal ASB BE Branch if equal AB BNE Branch if not equal AB Signed compore conditions (AB) BOT Branch if greater than AB BGE Branch of greater or equal AB BLT Bronchif less than AB BLE Branch ifloss or equal ASB BE Branch if equal AB BNE Branch if not equal A.