Block Diagram of A Computer
Block Diagram of A Computer
ALU
Memory
Block diagram of a Microcomputer
Input Output
Processing
m Bus
System Bus
Element
ROM RAM
Programming Languages
• Machine Language
• Assembly Language
• High Level Programming Languages
Single Board Microcomputer - µprocessor Kits
- µprocessor
- RAM 256 Bytes to 2K bytes
- 2Kbytes ROM
- Hex Keyboard
0 0 1 Memory write
0 1 0 Memory read
1 0 1 I/O write
1 1 0 I/O read
0 1 1 Opcode fetch
For every reading of data from the memory, for an instruction , the reading of
first byte of the instruction is treated as opcode fetch. It takes 4 T States. Where
1 T = one clock pulse.
Reading of the subsequent bytes from the memory is called memory read. It
takes 3 T states.
For eg., If an instruction requires 3 bytes to complete an operation then to read
the first byte from the memory is called opcode fetch.
Flags
Little Endian - The least significant byte of the data is placed at the lowest address.
MVI B, 05H
MVI C,06H
ADD C
DAA A = 11H