ECET 330 Week 5 Homework

Published on July 2017 | Categories: Education | Downloads: 83 | Comments: 0 | Views: 1140
Download PDF   Embed   Report

ECET 330 Week 5 Homework Click Below Link To Purchase www.foxtutor.com/product/ecet-330-week-5-homework 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 C = Register A = 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 C = Register A = 3. Show the value of the register and the carry after the execution of theASRB instruction. Given the original content of Register B and carry flag 1 0 1 0 0 1 0 1 0 C C = Register A = 4. Show the value of the register and the carry after the execution of theRORA instruction. Given the original content of Register A and carry flag 1 1 0 1 1 1 1 1 0 C C = Register A = 5. Show how to perform 77 x 34 in the HCS12. Store the result in a WORD-size variable called var1. 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. 7. How are the following decimal-signed numbers represented in HCS12?

Comments

Content

ECET 330 Week 5 Homework Click Below Link To Purchase www.foxtutor.com/product/ecet-330-week-5-homework 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 C = Register A = 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 C = Register A = 3. Show the value of the register and the carry after the execution of theASRB instruction. Given the original content of Register B and carry flag 1 0 1 0 0 1 0 1 0 C C = Register A = 4. Show the value of the register and the carry after the execution of theRORA instruction. Given the original content of Register A and carry flag 1 1 0 1 1 1 1 1 0 C C = Register A = 5. Show how to perform 77 x 34 in the HCS12. Store the result in a WORD-size variable called var1. 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. 7. How are the following decimal-signed numbers represented in HCS12?

Sponsor Documents

Or use your account on DocShare.tips

Hide

Forgot your password?

Or register your new account on DocShare.tips

Hide

Lost your password? Please enter your email address. You will receive a link to create a new password.

Back to log-in

Close