Concepts of an address and data, Computer Engineering

Assignment Help:

The heart of a computer is often one integrated circuit; one typical circuit is a 68Hc11 Microprocessor. Let us consider a typical 68Hc11 hardware design.

2125_Concepts of an address and data.png

          The microprocessor has three parallel connection of wires (buses).Attached to these buses are memory storage devices (RAM, EPROM) and input/output connections (serial /parallel).The microprocessor can communicate to any of these devices by means of the buses . The device can be selected by sending down a unique address number on the address bus and the information to be send or received is transferred via the data bus. It is often liken to that of a telephone call, the phone number is the address of the device and the conversation is the data .Within a system ,  it is common to have a description of the allocation of these address' in the form of a memory map.

This is simply a plot of address against data and indicates what address' are used be what devices. A typical memory map for a system is shown. Here the system uses two I.C's namely EPROM (non volatile storage), Ram (volatile storage), with internal parallel and serial port. Let us look at the operation of the microprocessor in a little more detail. The program is assembled from Assembly language into binary and stored in EPROMS, as shown below:

Assembly language program
name ex1  ;Immediate data example
p6811    ;set processor type
org $500  ;Start on external ram
ldaa #$fe  ;load Acc A with fe hex
adda #$1  ;ADD 1 TO a
end
 
Address  Assembly Code
000500    86
000501    FE
000502    8B
000503    01
00FFFE    05
00FFFF    00

 On power on the microprocessor issues a reset which causes the processor to go into a vector mode, this in turn reads in the next two bytes starting at address FFFE. The data stored at this location represents the initial program counter (PC) the data is then loaded PC respectively i.e. PC = 0x0500. This causes the processor to read the data at the address 0x500. The microprocessor reads in 0x86 and understands that the first piece of data must be a program command. It interprets 0x86 as a LDAA # data instruction and the data must follow .Therefore the microprocessor increments the PC to 0x501 and reads in the immediate data 0xfe. This is known as the 'FETCH' cycle because the microprocessor has fetched the instruction. The next stage is the 'EXECUTION 'cycle. Here the microprocessor transfers the data 0xfe into accumulator A and increments the PC to 0x502 and fetches the next instruction. A day in the life of the microprocessor is simply one of fetching and executing. Within C we often want to access the memory map directly, in order to talk to I/O devices or alter data in RAM . For this purpose C allows us to use the concept of address pointers.


Related Discussions:- Concepts of an address and data

Design tables in html, In this portion you would see how to put tables in y...

In this portion you would see how to put tables in your web documents. It isn't that a table is simply a combination of rows and columns. If you have ever seen any table in an attr

Local variables and global variables in lingo programming, Question: (a...

Question: (a) Differentiate between local variables and global variables in Lingo programming. (b) Using examples differentiate between deleteProp() and deleteAt() function

Additions of numbers by using 2’s complement, Add +25 to -15 by using 2's c...

Add +25 to -15 by using 2's complement ? Ans. Firstly convert the numbers 25 and 15 in its 8-bit binary equivalent and determine the 2's complement of 15, after that add +25 to -

Shm, composition of two shm in right angles to each other to havingg time p...

composition of two shm in right angles to each other to havingg time period in the ratio 1:2

How to use an assembler, Q. How to use an Assembler? Symbolic instructi...

Q. How to use an Assembler? Symbolic instructions which we code in assembly language is called as- Source program. An assembler program translates source program in machine

Explain about the client/server computing, Explain about the Client/Server ...

Explain about the Client/Server Computing? Although there are different various configurations, various hardware and software platforms and even various network protocols into

Padovan string , A Padovan string P(n) for a natural number n is defined as...

A Padovan string P(n) for a natural number n is defined as: P(0) = ‘X’ P(1) = ‘Y’ P(2) = ‘Z’ P(n) = P(n-2) + P(n-3), n>2 where + denotes string concatenation. For a string of t

What is spread spectrum, Question: (a) In order to encourage the develo...

Question: (a) In order to encourage the development mobile technologies, Europe has opted for standardisation. What is the rationale behind this? Provide concrete examples of h

Explain about the term false path, Explain about the term false path? How i...

Explain about the term false path? How it find out in circuit? What the effect of false path in circuit? By timing all the paths into the circuit the timing analyzer can find o

Example of processor arrangements, Q. Example of processor arrangements? ...

Q. Example of processor arrangements? !HPF$ PROCESSORS P (10) This initiates a group of 10 abstract processors assigning them combined name P. !HPF$ PROCESSORS Q (4, 4)

Write Your Message!

Captcha
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