Hartismere School

Est. 1451. An outstanding coeducational secondary school & sixth form college and England's first academy

Coronavirus (COVID-19)

Little Man Computer :: Examination Questions :: GCE A Level Computing

The following is a program written using the Little Man Computer instruction set.

start	LDA	one
	LDA	zero
	LDA	count
	SUB	one
	STA	count
	BRP	start
one	DAT	1
zero	DAT	0
count	DAT	3

(a) Describe the difference between the STA and LDA instructions. [2]

(b) Identify the type of memory addressing the program uses. [1]

(c) State the output this program generates. [3]

(e) Explain, giving an example, how pipelining in a CPU could speed up the execution of this program. [3]

(f) Describe one issue the line BRP start may cause for a CPU using pipelining. [2]

(g) Pipelining is one factor that affects the performance of a CPU. Identify one other factor. [1]