ECET330 week 2 ilab

Question # 00067019 Posted By: vikas Updated on: 05/07/2015 12:07 AM Due on: 05/31/2015
Subject Engineering Topic General Engineering Tutorials:
Question
Dot Image

Laboratory Report Cover Sheet

DeVry University

College of Engineering and Information Sciences

Course Number: ECET330

Professor: Laboratory Number: 2

Laboratory Title: Submittal Date:

Objectives:

1. To Install CodeWarrior

2. Explore the CodeWarrior IDE and the operations

3. Become familiar with how an assembly language program is entered and simulated using CodeWarrior

4. To learn how to generate a list file

Results:

We were able to have a beginner’s perspective for CodeWarrior IDE and its operations. We were also able to become more familiar with how an assembly language program is entered and simulated using CodeWarrior. We were also able to generate a list file.

Conclusions:

This week’s lab was insightful. Being introduced to CodeWarrior was a little tough to learn at first but as like any new language, a little practice can go a long way.

Team: May Saw EET

Observations/Measurements:

IV. 1- A. Copy and paste the complete source code for adding 7 and 8.

IV. 1-B. Copy and paste the IDE register window showing the value of A and B.

IV. 1-C. Copy and paste the IDE register window showing the value of A and B after executing the instruction to add A and B.

IV. 1.D - Copy and paste the Assembly Window showing the machine code.

IV. 2. A. Copy and paste the source code for adding your ID numbers.

IV. 2. B. Copy and paste the IDE register window showing the value of final result (in HEX).

IV. 2. C. Copy and paste the IDE register window showing the value of final result (in decimal).

IV. 2. D. Zero and Carry flag.

Questions:

1. Assume that the value of ter A is $FF and ter B is 00. What will be the value of zero flag, carry flag, ter A, ter B, and ter D after executing the instruction?

2. Assume that the value of ter A is $FF and ter B is 00. What will be the value of zero flag, carry flag, ter A, ter B, and ter D after executing the instruction?

3. Assume that the value of ter A is $FF and ter B is 00. What will be the value of zero flag, carry flag, ter A, ter B, and ter D after executing the instruction?

4. Assume that the value of ter D is $00FF. What will be the value of ters A, B, and D after executing the instruction?

Dot Image
Tutorials for this Question
  1. Tutorial # 00062904 Posted By: vikas Posted on: 05/07/2015 12:08 AM
    Puchased By: 3
    Tutorial Preview
    The solution of ECET330 week 2 ilab...
    Attachments
    ECET330_W2_iLab.docx (76.56 KB)
    Recent Feedback
    Rated By Feedback Comments Rated On
    e...hi Rating Awesome tutorials 08/19/2015

Great! We have found the solution of this question!

Whatsapp Lisa