0% found this document useful (0 votes)
802 views9 pages

10-IAS Instructions-10-01-2023

The document provides instructions on the IAS instruction set and architecture, including characteristics and functions of instructions. It also includes an example of assembly language code to perform the operation X=Y*Z on the IAS computer, storing the result in memory locations 803 onwards. The document concludes with example problems to write assembly language programs for the expressions A=(B-C)*D and A=B*(C+D) using the IAS instruction set and interpreting the flow on the IAS computer.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
802 views9 pages

10-IAS Instructions-10-01-2023

The document provides instructions on the IAS instruction set and architecture, including characteristics and functions of instructions. It also includes an example of assembly language code to perform the operation X=Y*Z on the IAS computer, storing the result in memory locations 803 onwards. The document concludes with example problems to write assembly language programs for the expressions A=(B-C)*D and A=B*(C+D) using the IAS instruction set and interpreting the flow on the IAS computer.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 9

Instructions Formats

Outline

IAS Instruction set

Instruction Set:
 Characteristics and Functions
IAS Instruction set
IAS Instruction set (continued)
Problem

Write an appropriate assembly language code for the


following operation and interpret to Von Neumann
IAS architecture
X=Y*Z
// Where X->40 bit data and Y->40 bit data
Result would be more than 40 bit.
Assume that data variables ‘Y’ & ‘Z’ available at memory locations 801 &
802 resly. And X will be stored 803 onwards.
LOAD MQ, M(801) MQM[801]

MUL M(802) AcMQ * M[802]

STOR M(803) M[803]AC

LOAD MQ ACMQ

STOR M(804) M[804]AC


IAS Computer
MARPC
MBRM[MAR]
IBRMBR<20..39> IBRMBR<20..39>
IRMBR<0..7> IRMBR<0..7>
MARMBR<8..19> MARMBR<8..19>
MBRM[MAR] MBRAC
ACMBR M[MAR}MBR
IRIBR<0..7> IRIBR<0..7>
MARIBR<8..19>
MBRM[MAR]
ACAC + MBR
PCPC+1
MARPC
MBRM[MAR]

[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)

Make necessary assumptions.

You might also like