Question: Here is a partial list of OpCodes for a simple computer (like MARIE): Write an Assembly Language program that calculates powers of 2 and stores
Here is a partial list of OpCodes for a simple computer (like MARIE): Write an Assembly Language program that calculates powers of 2 and stores them in memory. It should calculate and store powers of 2 from 2^0 to 2^10. Your Assembly Language instructions should start at address 100 (in Hex) and your Data should start at address 900 (in Hex) where 0001 (in Hex) should be stored. Your last instruction should Halt program execution. In other words your program should start out with this. 100 Load 900 101 Add 900 102 Store 901 900 0001 901 0000
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
