Attachment # 00005742 - Micro_Homework_3.docx
Micro_Homework_3.docx (10.64 KB)
Raw Preview of Attachment:
(refer to the detailed question and attachment below)
Homework 31. Write a program to clear Register B, and then add the number three to B seven times. Use the BNE instruction with DECA.2. Write a program to clear Register A, add five to Register A 10 times, and place the result in RAM Location $2000. Use a RAM location for holding the counter.3. What is the size of each instruction?I. LDAA     #50II. BEQ      thereIII. STAA    $2000IV. DECBV. LDAB     0, X4. Write the sequence of instructions to save Registers A, Y, and X in the Stack with the given order. Write the sequence of instructions to retrieve those values back.Saving A, Y, and X in Stack: 1 __________ 2 __________ 3 __________  Retrieving values back: 1 __________ 2 __________ 3 __________5. Show code for a nested loop to perform an action 1,000 times.

ECET 330 Homework / Lab

Question # 00071902 Posted By: saabsaab Updated on: 05/20/2015 06:06 PM Due on: 05/24/2015
Subject Computer Science Topic Microprocessor Systems Tutorials:
Question
Dot Image
Complete the attached documents. For the lab, use the instructions as guidelines, then use coversheet for answers.
Dot Image
Tutorials for this Question
  1. Tutorial # 00066611 Posted By: neil2103 Posted on: 05/20/2015 06:10 PM
    Puchased By: 3
    Tutorial Preview
    The solution of ECET 330 Homework / Lab...
    Attachments
    ECET330_W3_iLab_(1).docx (83.24 KB)
    Micro_Homework_3.docx (13.17 KB)
Whatsapp Lisa