Preview

Sheet01

Satisfactory Essays
Open Document
Open Document
1045 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Sheet01
CSE 312 Microprocessor based Systems

Ain Shams University Faculty of Engineering Computer and Systems Department

Spring 2013 Third Year CSE

Sheet 1 (Covering Chapters 0 to 5)
March 9th, 2012

Chapter 0 – INTRODUCTION TO COMPUTING
1. Find the total amount of the memory in units requested, for each of the following CPUs, given the size of the address buses: a) 16-bit address bus. (in K) b) 24-bit address bus. (in megs) c) 32-bit address bus. (in megabytes and gigabytes) d) 48-bit address bus. (in megabytes, gigabytes, and terabytes)

Chapter 1 – THE HCS12/9S12 MICROCONTROLLER HISTORY AND FEATURES
2. What components are usually put together with the microcontroller onto a single chip? 3. In an embedded controller with on-chip ROM. Why does the size of the ROM matter?

Chapter 2 – HCS12 ARCHITECTURE AND ASSEMBLY LANGUAGE PROGRAMMING
4. What is the result of the following code and where is it kept? LDAA #$15 ADDA #$13 5. Which of the following instructions is (are) illegal? a- LDAA #500 b- LDAA #50 c- LDAA #00 d- LDAA #$255 e- LDAA #$25 f- LDAA #$F5 g- ADDA mybyte , #$25 6. Which of the following instructions is (are) illegal? a- ADDA #$300 b- ADDA #$50 c- ADDA #$500 d- ADDA #$255 e- ADDA #12 f- ADDA#$F5 g- ADDA #$25 7. 8. 9. 10. Show a simple code to load values 30H and 97H into locations 805H and 806H, respectively. Show a simple code to load value 55H into locations 300H and 308H. Show a simple code to load value 5FH into Port B. Which of the following is an invalid use of the immediate addressing mode? a- LDDA #$24 b- LDAA $30 c- LDAA #$60

11. Identify the addressing mode for each of the following: a- STAA PORTB b- LDAA #$50 c- STAA $800 d- LDAA #0 e- CLRA f- ABA 12. Indicate the size of instruction for each of the following: a- STAA PORTB b- LDAA #$50 c- STAA $800 dLDAA #0 e- CLRA f- ABA

Chapter 3 – BRANCH, CALL, AND TIME DELAY LOOP
13. Find the number of the times the following loop is performed: REGA EQU $800 REGB EQU $801 LDAA #200

You May Also Find These Documents Helpful

  • Powerful Essays

    1. One megabyte equals approximately 1) 1,000 bits 2) 1,000 bytes 3) 1 million bytes 4) 1 million bits 5) 2,000 bytes 2. Data going into the computer is called? 1) Output 2) Algorithm 3) Input 4) Calculations 5) Flowchart 3. Which of the following refers to the memory in your computer? 1) RAM 2) DSL 3) USB…

    • 5339 Words
    • 22 Pages
    Powerful Essays
  • Satisfactory Essays

    SD1230 Lab 1

    • 239 Words
    • 2 Pages

    1. Rank the areas of memory from highest speed to lowest? – Processors registers, Processors cache and RAM and hard drives.…

    • 239 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Nt1330 Unit 3 Assignment 1

    • 2019 Words
    • 9 Pages

    Subnetting IP Addressing • Internet Protocol (IP) • A unique indentifier for a host, or node, on an IP network • 32-bit binary number, usually expressed as 4 “dotted decimal” values. • Each decimal value represents 8 bits, in the range of 0 to 255 Example 140.179.220.200 140 Written in binary form: .179 .220 .200…

    • 2019 Words
    • 9 Pages
    Powerful Essays
  • Satisfactory Essays

    CHAPTER3 REVEIW

    • 527 Words
    • 3 Pages

    a. The CPU tells the RAM which address holds the data that the CPU wants to read…

    • 527 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    5. This chapter describes the concepts behind how a CPU reads the contents from RAM. Which of…

    • 856 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Pt1420 Unit 7 Study Guide

    • 582 Words
    • 3 Pages

    18.Write a program to read a hex input and display it in binary. Page: 133…

    • 582 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    This chapter describes the concepts behind how a CPU reads the contents from RAM. Which of the following is true about the process of read data, as described in the chapter?…

    • 605 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Unit 1&2 Discussion

    • 379 Words
    • 2 Pages

    Access control is typically achieved by reserving a collection of bits within the general “Flag Register” to indicate the current “access control level”. Certain instructions are restricted so that they are only legal if the “access control level” is at least some minimum value; otherwise the instruction generates an “illegal operation” interrupt.…

    • 379 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    UNIT 2

    • 470 Words
    • 3 Pages

    4.) Write assignment statements that perform the following operations with the variables a, b, and c:…

    • 470 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Danshui Sheet2

    • 421 Words
    • 15 Pages

    BREAK EVEN POINT ANALYSIS Production Units 200 Revenue Variable cost Fixed cost $41,240 $40,411 729 Price per unit: (Revenue/Unit) Variable cost per unit (Variable cost/unit) Contribution Margin (Price per unit-­‐variable cost per unit) $206.20 Break Even Point= (Fixed cost/Contribution margin) or 729/4.145 $202.06 $4.15 175.875 units TOTAL COST VARIANCE ANALYSIS Total costs Budget Production Unit Expected cost per unit $41,140,000 200,000 $205.70 Actual total cost Actual production unit Actual cost per unit $38,148,000 180,000 211.91 FLASH MEMORY…

    • 421 Words
    • 15 Pages
    Satisfactory Essays
  • Powerful Essays

    Cronon Worksheet

    • 1217 Words
    • 5 Pages

    Native Americans used the land that they had to survive. They moved around seasons to season in order to get the resources that they needed. They would fish if there was a water source around or if there were a lot of land or a forest they would hunt. They considered food and home a good use for land; anywhere they…

    • 1217 Words
    • 5 Pages
    Powerful Essays
  • Good Essays

    2. Use the Windows calculator to prove your answer is correct. This process is shown in the following example.…

    • 705 Words
    • 5 Pages
    Good Essays
  • Satisfactory Essays

    3. The demand for subassembly S is 100 units in week 7.Each unit of S requires 1 unit of T and 2…

    • 393 Words
    • 7 Pages
    Satisfactory Essays
  • Good Essays

    Paper MAN3063

    • 630 Words
    • 2 Pages

    The mission statement of an organization is a snapshot of what the company is and whom they serve. It is a vital guide in communicating an organization’s daily focus to its employees. It is critical that the organization’s ethics and values tie into that mission statement. By incorporating an organization’s ethics into the mission statement, it will provide a base of principles that everyone can easily identify and follow.…

    • 630 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    [2] http://www.cs.utah.edu/cmpmsi/papers09/paper1.pdf CMP-MSI: 3rd Workshop on Chip Multiprocessor Memory Systems and Interconnects held in conjunction with the 36th International Symposium on Computer Architecture, June 2009.…

    • 4952 Words
    • 20 Pages
    Powerful Essays