GATE Papers >> CSE >> 2016 >> Question No 141

Question No. 141 CSE | GATE 2016

Consider a processor with 64 registers and an instruction set of size twelve. Each instruction has five distinct fields, namely, opcode, two source register identifiers, one destination register identifier, and a twelve-bit immediate value. Each instruction must be stored in memory in a byte-aligned fashion. If a program has 100 instructions, the amount of memory (in bytes) consumed by the program text is __________ .


Answer : 500.0 : 500.0


Solution of Question No 141 of GATE 2016 CSE Paper
34 bit
opcode Reg Reg Reg 12 bit Immediate
4 bit 6 6 6 12

Our instruction size = 34 bit = 5 bytes 100 instruction occupies 500 bytes.

Comments
No Comments
Leave a comment