Practice Test Question Comp. Science Pep/7 Instruction


by btrombley29
Tags: comp, instruction, pep or 7, practice, science, test
btrombley29
btrombley29 is offline
#1
Feb18-13, 03:40 PM
P: 1
Assuming a Pep/7 machine, what are the contents of the A register after the execution of this instruction:

00001001 00000000 00000010

given the following state of memory (in hexadecimal)?

0001 A2
0002 00
0003 11

00001 is the opcode for the instruction "Load operand into a register (either A or X)"
I know that 01 int the Addressing mode specifier means Direct-mode addressing but after that I'm not sure what to do. I think the answer is 00000000 00010001
Phys.Org News Partner Science news on Phys.org
Better thermal-imaging lens from waste sulfur
Hackathon team's GoogolPlex gives Siri extra powers
Bright points in Sun's atmosphere mark patterns deep in its interior

Register to reply

Related Discussions
Problem 51 from (GRE) math subject test: practice test book Calculus & Beyond Homework 10
Physics Olympiad 2010 practice test question # 23 Introductory Physics Homework 8
Help with converting machine language instruction into MIPS assembly instruction Programming & Computer Science 9
Comp Science or ......? Academic Guidance 1
comp science hw help!!! Introductory Physics Homework 6