10-IAS Instructions-10-01-2023
10-IAS Instructions-10-01-2023
Outline
Instruction Set:
Characteristics and Functions
IAS Instruction set
IAS Instruction set (continued)
Problem
LOAD MQ ACMQ
[email protected]
ACAC= 73 MQ
MEMORY
1. LOAD M(X) 500, ADD M(X) 501
2. STOR M(X) 500, (Other Ins)
.....
500. 3
501. 4 500
MBR
LOAD
ADD
M(X)
MBR =500
M(X) 43
501
(OtherSTOR
Ins) M(X)
PC 21
MAR 501
500
21
MBR LOAD
STOR
M(X)
M(X)
500,
500,
43 ADD
(Other
M(X)
Ins)501
IR LOAD
STOR
ADD M(X)M(X)
IBR ADD
(Other
M(X) Ins)
501
AC 37 501
AddIBR
M(X) PC
PC←
Mar
MAR =PC
= 12
←PC
LOAD M(X) 500, 3ADD M(X) 501
4
STOR M(X) 500, (Other Ins)
IR MAR
MARadd=
12
501
MAR==500
MAR =500
= 501
add =
add 500
add==12
[email protected]
Example Problems
Write an Assembly language programming for the following
expressions using IAS computer Instruction set and interpret to
the flow of IAS computer
1. A=(B-C)*D
2. A=B*(C+D)