GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

Author Archives: Anonymous

Why don’t we use BR to call a subroutine?  [1] The RET instr…

Why don’t we use BR to call a subroutine?  [1] The RET instruction is an alias for [2]  

Read Details

Choose the best description of the LEA instruction as used i…

Choose the best description of the LEA instruction as used in LC-3 assembly

Read Details

Complete the symbol table for the following code: Label:…

Complete the symbol table for the following code: Label: Address: START [1] [2] [3] [4] [5] [6] [7]

Read Details

Match the description to the instruction

Match the description to the instruction

Read Details

Imagine in the PennSim simulator line 3 (address 0x321F) was…

Imagine in the PennSim simulator line 3 (address 0x321F) was highlighted yellow (line of code to be executed next). If we hit:    Step the next line highlighted would be [1]    If instead we hit Next the next line highlighted would be [2] If the current highlighted line was line 7 (address 0x3222) and we hit Next the next line highlighted would be [3]

Read Details

Simulate different scenarios in your head, but in all scenar…

Simulate different scenarios in your head, but in all scenarios assume condition check is eventually false Then give the best answer to the following: Shape A is [1] Shape B is [2] Shape C is [3] Shape E is [4]

Read Details

To perform an LDI instruction the processor first [off_ext]…

To perform an LDI instruction the processor first [off_ext] and [addr_form] this result is [first_op].  The data [op] is then [2nd_op], and data returned is [final]

Read Details

At what 4-digit hex address is the label LOOP defined [1] Wh…

At what 4-digit hex address is the label LOOP defined [1] What offset (answer as a decimal number) would be encoded into the BRnp instruction [2] True/False: (simply type true or false in the box) the program would not work if line 29 was: RESULT  .BLKW 1                  [3]  

Read Details

When a BRnz instruction is executed, the branch will be take…

When a BRnz instruction is executed, the branch will be taken [1] The BRnz branch will be taken if the last value written to a register was [2] If one leaves the flag specifiers off a BRx instruction  (i.e. just a BR instruction) the [3]  

Read Details

The destination of this instruction is (type a specific regi…

The destination of this instruction is (type a specific register (i.e R0) or type memory if it is memory) [1] The address in memory being accessed is (enter 4-digit hex number) [2]

Read Details

Posts pagination

Newer posts 1 … 56 57 58 59 60 … 88,436 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top