1. Assume that the registers are 8-bit wide. Consider the following code: MOV R1, #4A MOV R2, #40 ADD R3, R1, R2 a) What will be the 8-bit result in Register R3 (in hex)? b) What is the 8-bit result in Register R3 (as unsigned decimal)? c) What is the 8-bit result in Register R3 (as signed decimal)? d) What will be the value of the carry (C) bit?

Electric Motor Control
10th Edition
ISBN:9781133702818
Author:Herman
Publisher:Herman
Chapter22: Sequence Control
Section: Chapter Questions
Problem 6SQ: Draw a symbol for a solid-state logic element AND.
icon
Related questions
Question
100%
1. Assume that the registers are 8-bit wide. Consider the following code:
MOV R1, #4A
MOV R2, #40
ADD R3, R1, R2
a) What will be the 8-bit result in Register R3 (in hex)?
b) What is the 8-bit result in Register R3 (as unsigned decimal)?
c) What is the 8-bit result in Register R3 (as signed decimal)?
d) What will be the value of the carry (C) bit?
Transcribed Image Text:1. Assume that the registers are 8-bit wide. Consider the following code: MOV R1, #4A MOV R2, #40 ADD R3, R1, R2 a) What will be the 8-bit result in Register R3 (in hex)? b) What is the 8-bit result in Register R3 (as unsigned decimal)? c) What is the 8-bit result in Register R3 (as signed decimal)? d) What will be the value of the carry (C) bit?
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Knowledge Booster
Logic Gate and Its Application
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, electrical-engineering and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Electric Motor Control
Electric Motor Control
Electrical Engineering
ISBN:
9781133702818
Author:
Herman
Publisher:
CENGAGE L