The word problems that I typed at the end is the last page of the assignment Tha
ID: 1811866 • Letter: T
Question
The word problems that I typed at the end is the last page of
the assignment
Thank You in advance
Note Include a brief explanation or calculation with each answer to questions below.
(b) How many registers does the LEG architecture employ?
(c) How many bits are used for the opcode in each of the three formats?
(d) What is the (decimal) numeric range of the offset in format ô€?
(e) What is the (decimal) numeric range of the immediate operand in format ô€®?
(f) What is the (decimal) numeric range of the immediate operand in format �
(g) How many different operations (opcodes) can this architecture specify?
(h) Describe the operation of instructions in format ô€. What is the purpose of the ô€°-bit flag field and the
ô€®ô€°-bit offset?
(i) Describe the types of operations performed by instructions in formats ô€® and ô€¯.
(j) Compare formats ô€® and ô€¯, in terms of potential operations that can be specified by each. Is either of
these formats clearly better than the other?
May
Explanation / Answer
b) 2^n c) 3 d)[-2^(n-1),2^(n-1) -1] e)[2^0, 2^255] f)[2^0, 2^255] g)2^9 since 9 bits are present h)bit flag for knowing mode of operation and some flags like Z ---->if the value is zero and C------->for carry etc.... offset for jump/branch instructions i)
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.