Devry ECET330 Week 5 Homework Latest

Question

Dot Image

ECET330 Microprocessor Architecture

Week 5 Homework  

Question 1. Show the value of the register and the carry after the execution of the ASLA instruction.

Given the original content of Register A and carry flag

0 1 0 0 1 0 1 0 1

C

Question 2. Show the value of the register and the carry after the execution of the LSLB instruction.

Given the original content of Register B and carry flag

0 1 0 0 1 0 1 0 1

C

Question 3. Show the value of the register and the carry after the execution of the ASRB instruction.

Given the original content of Register B and carry flag

1 0 1 0 0 1 0 1 0

C

Question 4. Show the value of the register and the carry after the execution of the RORA instruction.

Given the original content of Register A and carry flag

1 1 0 1 1 1 1 1 0

C

Question 5. Show how to perform 77 x 34 in the HCS12. Store the result in a WORD-size variable called var1.

 Question 6. Show how to perform 77 / 3 in the HCS12. Store the quotient in a WORD-size variable called result, and the remainder in a WORD-size variable called remainder.

Question 7. How are the following decimal-signed numbers represented in HCS12?

-12

+127

-128

Having Trouble Meeting Your Deadline?

Get your assignment on Devry ECET330 Week 5 Homework Latest completed on time. avoid delay and – ORDER NOW

Dot Image

Order Solution Now

Similar Posts