logo

Crowdly

Browser

Додати до Chrome

Questions Bank (1245297 total)

Which statement is NOT true?
Переглянути це питання
Suppose a stack was initially empty, and we have performed the

following sequence of operations:

push a, push b, push c, pop, push d, push e, pop, pop, pop

What value is returned by the last pop?

Переглянути це питання
If a procedure calls another other procedure, then it

needs to save the return address in memory to avoid

destroying the return address.

100%
0%
Переглянути це питання
Which one of the following statements is NOT true?
0%
0%
0%
0%
0%
0%
Переглянути це питання

Suppose this program fragment executes:

labela  add  R4,R5,R6

labelb  sub  R2,R8,R3

labelc  jal  R13,labelf[R0]

labeld  mul  R9,R2,R4

labele  lea  R3,a[R0]

labelf  add  R4,R7,R2

After it executes, the value in R13 is

Переглянути це питання
Suppose the label x refers to address 0c3a,

and mem[0c3a] = 00d2

Consider the instruction lea R3,x[R0]

Which statement is true?

Переглянути це питання
Consider the instruction load R3,14[R0]

Which statement is NOT true?

0%
0%
0%
Переглянути це питання
Suppose a record R contains 5 fields named a, b, c, d, e.

R7 contains a pointer to the record R.

Which instruction performs R2 := R.d?

Переглянути це питання
Which instruction performs R4 := &x?
Переглянути це питання
Which instruction performs R4 := x?
0%
0%
Переглянути це питання