Assignment no 2 CS501
Advance Computer Architecture (CS501)
Assignment # 02(GRADED)
Write RTL(Register Transfer Language) notations against the given statements.
S. No.
Instruction Type
Description
RTL Notation
1
A logical instruction of type 4 of Falcon-A processor performing “AND” operation
The contents of Register R3 and contents of Register R4 are bit-wise ‘ANDED’ and the result is placed inRegister R8
(op<4…0>):R[r8]←R[r3]&R[r4]
2
The multiply instruction of Falcon-A
The contents of register R1 multiplied with register R2 and then placed the result in register R3
(op<4…0>):R[r3]←R[r1]*R[r2]
3
The Falcon-A arithmetic add instruction
The memory location contains the contents of Register R5plus 15 are stored in register R6
(op<4…0>):R[r6]←R[r5]+[15]
4
The Falcon-A arithmetic subtract instruction of the type 4
The contents of Register R7 are subtracted by 10 and result is placed in memory location containing the contents of register R3 added by 4
(op<4…0>):[4]+R[r3]←[10]-R[r7]
5
A data transfer instruction of the Falcon-A processor
The memory location given by the contents of the program counter plus 14 are transferred to register R2
iE:R[r2]←[PC]+[14]