logo

Crowdly

COMPSCI1018 Computing Science 1S - Computing Systems - 2024-25

Looking for COMPSCI1018 Computing Science 1S - Computing Systems - 2024-25 test answers and solutions? Browse our comprehensive collection of verified answers for COMPSCI1018 Computing Science 1S - Computing Systems - 2024-25 at moodle.gla.ac.uk.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

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?

View this question
Which instruction performs R4 := &x?
View this question
Which instruction performs R4 := x?
View this question

Given the following values:

&x = 0002

R1 = 0001

R2 = 0dc1

mem[0000] = 0323

mem[0001] = 0002

mem[0002] = ac00

mem[0003] = 002a

mem[0004] = 00c1

What value is in R6 after executing lea R6,x[R1]?

View this question

Given the following values:

&x = 0002

R1 = 0001

R2 = 0dc1

mem[0000] = 0323

mem[0001] = 0002

mem[0002] = ac00

mem[0003] = 002a

mem[0004] = 00c1

What value is in R6 after executing load R6,x[R1]?

View this question
Suppose the address of x is 002a, the value of mem[002a] = 301b,

the value in R2 = 0023, and the value in R3 = 0103.

What is the effective address in load R2,x[R3]?

View this question
(Here, /\ is the Boolean AND operator.)

The value of (x /\ 1) is

View this question
Which statement about the trap instruction is NOT true?
0%
0%
0%
0%
0%
View this question

Want instant access to all verified answers on moodle.gla.ac.uk?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!