Details of this Paper

Week 2- ECET 330- Microprocessor. Devry University

Description

solution


Question

Install CodeWarrior v. 5.1. Read the document ?How to Install CodeWarrior? in Doc Sharing.;Read the CodeWarrior tutorial. This tutorial is in Doc Sharing.;Write an assembly language program to load Register A with number 7, and Register B with number 8. Add these two registers.;A. Copy and paste the source code.;B. Single step the lines (as described in the CodeWarrior Tutorial) to load the numbers into Registers A and B. Copy and paste the IDE register window showing the value of A and B.;C. Copy and paste the IDE register window after adding the two numbers.;D. Copy and paste the Assembly Window showing the machine code. The CodeWarrior tutorial describes how to display the machine code in this window.;Write an assembly language program to add all of the digits of your D#.;A. Copy and paste the source code.;B. Copy and paste the IDE register window, showing the value of final result (in hex).;C. Copy and paste the IDE register window showing the value of final result (in decimal). Right-clicking on the register window and selecting format -> Dec will show the values in decimal.;D. What are the values of the zero and carry flag after all digits are added?

 

Paper#66561 | Written in 18-Jul-2015

Price : $27
SiteLock