..KEKAL SELA... 3:10 PM < Back beta2343021... QUESTION 5 (a) (b) (c) (BETA 2343) LOOP2: LOOP1: Contruct instruction to l
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
..KEKAL SELA... 3:10 PM < Back beta2343021... QUESTION 5 (a) (b) (c) (BETA 2343) LOOP2: LOOP1: Contruct instruction to l
QUESTION 5 (a) (b) (c) (BETA 2343) LOOP2: LOOP1: Contruct instruction to load the 16-bit number 2036H in the register pair DE using LXI and MVI opcodes and explain the difference between the two instructions. LOOP: MVI B, 38H MVI C, FFH DCR C JNZ LOOP1 Show the time taken to complete the following program in Figure Q5(b). The microprocessor is running at 1 MHz. DCR B JNZ LOOP2 HLT Figure Q5(b) Construct the following mnemonic code in Figure Q5(c) into a flowchart. LDA 3000H MOV E, A INR A NVI B, OH LDA 3001 MOV C, A DCR C ADD B Q JNZ LOOP STA 2010H HLT Figure Q5(e) 37% -19- SULIT (5 marks) (8 marks) (12 marks) [25 marks] SULIT
..KEKAL SELA... 3:10 PM < Back beta2343021...