Upload
sohail-ali
View
3
Download
0
Embed Size (px)
DESCRIPTION
its an article regarding minroprocessor
Citation preview
These are also known as General Purpose Registers. Mainly used for Data Operation, Logics Calculation &
Manipulation of Data.
Data Registers
Memory Organization & Aligned & Misaligned Data
To store a Word of 16-Bit, two consecutive Memory locations are required. Lower Byte would be stored in Lower Address of two consecutive bytes while higher byte would be stored in higher address of consecutive byte.
Like to store data of 16-Bit i.e. 625A H
5A = Lower Byte in 00001H
62 = Higher Byte in 00002H.
Memory Organization & Aligned & Misaligned Data
Aligned Words are those which started with Address whose Least Significant Bit is ‘0’ also called Even Physical Address.
Non-aligned Words are those which started with Address whose Least Significant Bit is ‘1’ also called Odd Physical Address.
8
Number stored in fig ( a) is 5502H, in (b) is FDAAH
Note: least significant byte is stored at lower address.
12
Example In (b) segment base address A000H and Offset 55FFH are stored
Offset is stored first and segment base address is stored next
This is an example of double-word pointer storing.
DATA TYPES Byte, Word (16 bits), Double Word(32 bits)
Unsigned Byte Integer
Signed Byte Integer
Unsigned Word Integer (16 bits)
Signed Word Integer
Floating-point (real) numbers will be discussed later
BCD Numbers (Unpacked and Packed)
ASCII Code