GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

GradePack

A memory has 6 address bits and a data word size of 4-bits:…

A memory has 6 address bits and a data word size of 4-bits: The total capacity is [1] The number of words is [2] An appropriate name for its data output would be [3]

Read Details

; Routine takes max of two arguments (R0,R1) returns in R0 ;…

; Routine takes max of two arguments (R0,R1) returns in R0 ; R0 = Argument 1 ; R1 = Argument 2 ;  Computes the max of R0 and R1 and places it in R0 MAX  [1]                          ; negate R1               [2]               [3]                                      ; compare R0 to R1              [4]                                     ; decide based on comparison              [5] DONE  RET This routine is [6]

Read Details

Simulate this code in your head Register R1’s purpose is bes…

Simulate this code in your head Register R1’s purpose is best described as [1] Register R0’s purpose is best described as [2] The value in register R3 is [3] This algorithm implements [4]  This algorithm does not work when Var2 is negative or zero.  It work when Var1 is: [5]  

Read Details

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

Posts pagination

Newer posts 1 … 39 40 41 42 43 … 88,419 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top