Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. a) For the following Wimp51/8051 ASM code sequence, fill in the Program Counter (PC) values, Hex and decode each instruction into Binary. You will

image text in transcribed

1. a) For the following Wimp51/8051 ASM code sequence, fill in the Program Counter (PC) values, Hex and decode each instruction into Binary. You will need the instruction set sheet provided in the Lab #3 manual or your lecture notes. Then, write down the final value in the Accumulator (A) after the program finish executing. (10 points) PC Instruction MOV A, # 8B MOV R4,A MOV A, #24h SWAP A CLR C ADDC A, #0FFh JZ STOP: SJMP HERE: XRL A, R4 Hex Binary 00h HERE: STOP The final value in the accumulator is b) During the fetch state in Wimp51, the PSEN signal is set to 0 but during the decode state, only some instructions cause the PSEN signal to be 0. Which of these instructions will cause PSEN signal to be 0 during decode state? A) MOV A,#30h B) SWAP A C) SJMP HERE 1. a) For the following Wimp51/8051 ASM code sequence, fill in the Program Counter (PC) values, Hex and decode each instruction into Binary. You will need the instruction set sheet provided in the Lab #3 manual or your lecture notes. Then, write down the final value in the Accumulator (A) after the program finish executing. (10 points) PC Instruction MOV A, # 8B MOV R4,A MOV A, #24h SWAP A CLR C ADDC A, #0FFh JZ STOP: SJMP HERE: XRL A, R4 Hex Binary 00h HERE: STOP The final value in the accumulator is b) During the fetch state in Wimp51, the PSEN signal is set to 0 but during the decode state, only some instructions cause the PSEN signal to be 0. Which of these instructions will cause PSEN signal to be 0 during decode state? A) MOV A,#30h B) SWAP A C) SJMP HERE

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Modeling And Design

Authors: Toby J. Teorey, Sam S. Lightstone, Tom Nadeau, H.V. Jagadish

5th Edition

0123820200, 978-0123820204

More Books

Students also viewed these Databases questions