Devry ECET330 Week 2 Homework Latest

Question

Dot Image

ECET330 Microprocessor Architecture

Week 2 Homework  

1. Question: Write a simple program in which the value, $55, is added three times.

Question 2. Question: Which of the following instructions is (are) illegal?

LDAA #500

LDAA #50

LDAA #$255

STAA #50

STAA $50

LDAA 6, X

Question 3. Question: Identify the addressing mode for each of the following.

STAA $2005

LDAA #$55

STAA $55

CLRA

ADDA 0, X

Question 4. Question: Show the status of C and Z flags after each of the following codes.

LDAA #$54

ADDA #$C4

LDAA #01

ADDA #$FF

Question 5. Question: Show the status of H and N flags after the following code.

LDAA #$A1

ADDA #$0F

Question 6. Question: Define a byte-size and word-size variable starting at address $2000. Initialize both variables to $55. You should use ORG, DC.B, and DC.W directives.

Having Trouble Meeting Your Deadline?

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

Dot Image

Order Solution Now

Similar Posts