0% found this document useful (0 votes)
206 views

SAP 1 - Microprogramming Table

The document describes the design of the microprocessor and I/O system of SAP-1. It includes the control word format and opcode mnemonics for instructions like LDA, ADD, SUB, and OUT. It also shows the design of the SAP-1 Address ROM and SAP-1 Control ROM, listing the address, content, and active pins for each memory location along with the corresponding microprogram routine.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
206 views

SAP 1 - Microprogramming Table

The document describes the design of the microprocessor and I/O system of SAP-1. It includes the control word format and opcode mnemonics for instructions like LDA, ADD, SUB, and OUT. It also shows the design of the SAP-1 Address ROM and SAP-1 Control ROM, listing the address, content, and active pins for each memory location along with the corresponding microprogram routine.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Microprocessor & I/O System

SAP-1: Charts & Tables


Fahim Rahman
EEE, AIUB
10

Micro Programming:

Consider the control word and Opcodes:

Cp Ep Lm Ce Li Ei La Ea Su Eu Lb Lo

Mnemonic Op-Code HEX
LDA 0000 0H
ADD 0001 1H
SUB 0010 2H
OUT 1110 EH
HLT 1111 FH


Design the SAP-1 Address ROM and SAP-1 Control ROM:

SAP-1 Address ROM SAP-1 Control ROM
Address Content Routine Address Content Routine Active Pin
0000 (0H) 0011 LDA 0000 (0H) 5E3 H FETCH
Ep, Lm
0001 (1H) 0110 ADD 0001 (1H) BE3 H
Cp
0010 (2H) 1001 SUB 0010 (2H) 263 H
Ce , Li
0011 (3H) xxxx - 0011 (3H) 1A3 H LDA
Ei , Lm
0100 (4H) xxxx - 0100 (4H) 2C3 H
Ce , La
0101 (5H) xxxx - 0101 (5H) 3E3 H
X
0110 (6H) xxxx - 0110 (6H) 1A3 H ADD
Ei , Lm
0111 (7H) xxxx - 0111 (7H) 2E1 H
Ce , Lb
1000 (8H) xxxx - 1000 (8H) 3C7 H
Ev , La
1001 (9H) xxxx - 1001 (9H) 1A3 H SUB
Ei , Lm
1010 (AH) xxxx - 1010 (AH) 2E1 H
Ce , Lb
1011 (BH) xxxx - 1011 (BH) 3CF H
Ev,La,Sv
1100 (CH) xxxx - 1100 (CH) 3F2 H OUT
Ea , Lo
1101 (DH) xxxx - 1101 (DH) 3E3 H
-
1110 (EH) 1100 OUT 1110 (EH) 3E3 H
-
1111 (FH) xxxx - 1111 (FH) xxxx xxxx -

You might also like