Draw a map to illustrate the above data structure

Assignment Help Computer Engineering
Reference no: EM131530954

Question: A 68020-based single-board microprocessor system is to be used to keep track of items in a shop. The shop sells up to N items. Each item is characterized by its 28-byte ASCII-encoded name followed by a longword pointer. This pointer points to the actual record that describes the item. A record consists of a 256-byte text field that describes the item, followed by four consecutive 4-byte fields. These fields define the item's cost price, selling price, number bought, and number sold. Suppose you need to access field x of item. Before accessing the field, you may assume that the 68000 registers have been set up as follows

AO points at the first item in the list of N items

• DO contains item number y and is in the range 0 to N 1

• D1 contains the field number x and is in the range 0 to 3

a. Draw a map to illustrate the above data structure.

b. Show how you would use the 68000 microprocessor to access field x of item y from the data structure.

c. Show how you would use the memory indirect addressing mechanism of the 68020 to access the same field in the data structure.

Reference no: EM131530954

Questions Cloud

Compare transactional and transformational leaders : Compare transactional and transformational leaders. Draft four distinctions between leaders and managers. Define three components of the leadership skill mix.
What is the difference between postindexing and preindexing : Why do bit field instructions number bits from the most significant bit of the effective address of the bit field?
Discuss mainstream von neumann architectures : The 68020 microprocessor has almost the same instruction set as its predecessor. the 68000, and yet represents a giant leap forward in terms.
Explain how goal ambiguity make policy design more difficult : Discussion "The Difficulties of Writing Policy"- how ambiguity helps promote policy making and how goal ambiguity makes makes policy design more difficult.
Draw a map to illustrate the above data structure : A 68020-based single-board microprocessor system is to be used to keep track of items in a shop. The shop sells up to N items.
Explain what the given program does : Explain what the following 68000 program does. Use the 68000 simulator to test your observations.
Develop revenue policy aligned with community values : How vital is it to develop revenue policy aligned with community values? Issues and challenges in leading budget and fiscal reform in government.
Find the variance of the insurer payment per loss : Find the variance of the insurer payment per loss if there is a deductible of 100 and a policy limit of 800.
Summarize the point of view of the host on each topic : Summarize the point of view of the host on each topic and provide your position on the topic as it relates to the position of the host.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Take a byte-addressable computer with 24-bit addresses

take a byte-addressable computer with 24-bit addresses, a cache capable of storing a total of 64KB of data, and blocks of 32 bytes. Show the format of a 24-bit memory address for.

  Explain working procedure for karnaugh map

describe working procedure for Karnaugh map or K-map for two-, three- and four-variable functions.

  Implement a multiply instruction on asc

Write the register transfer sequence needed to implement a multiply instruction on ASC.

  What are the capabilities of odd parity

How many bits are needed to uniquely represent a code that includes.

  Make a powerpoint presentation to convey information

Give two examples where it will be appropriate to create a PowerPoint presentation to convey information to a group of people working in the field of law.

  Develop the finite difference approximation of fick second

Develop the finite difference approximation of Fick's second law of diffusion in polar coordinates. Write a MATLAB program that can be used to solve the following problem.

  Wap to find the average customer waiting time

Customers arrive at a grocery stores checkout counter according to a Poisson process with rate I per minute. Each customer carries a number of items.

  How to calculate the cost of 1 mbyte of main memory

how to Calculate the cost of 1 MByte of main memory.

  What is the probability density function

Repeat Problem, substituting the uniform quantizer with the optimal nonuniform quantizer.

  Threats resolved by redhat linux

The switches have the VLANs defined, one for the offices, one for the MIS, and one for the warehouse. Recognize what threats are resolved by the Redhat linux.

  Design the instruction formats using class code method

There are three classes of instructions in an instruction set (two-address, one address, and zero-address). All instructions must be 32 bits long.

  Write a program which reads a file and creates a file

Create your own file to test your program. Your job is to set up the input and output files to have the program read from a file and write to a file.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd