Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

3. Consider the following E20 program: xyz: abc: movi $4, 9 addi $4, $4, 5 jeq $4, $0, xyz movi $1, 0 halt movi




3. Consider the following E20 program: xyz: abc: movi $4, 9 addi $4, $4, 5 jeq $4, $0, xyz movi $1, 0 halt movi $1, 1 halt (a) What is the final value of the $1 register? (b) What is the value of the label xyz? (c) What is the value of the label abc? (d) What is the address of the jeq instruction? (e) What will be the value of the immediate field of the jeq machine code instruction? Consult the E20 manual. Don't forget that in E20 machine code, the jeq instruction's immediate is a relative address. Your answer will depend on the address of the jeq instruction and also on the address of xyz. Give your answer as a 7-bit binary number.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students also viewed these Programming questions

Question

Draw and name all possible isomers of pentene.

Answered: 1 week ago

Question

What is another name for the standard deviation of the sample mean?

Answered: 1 week ago