export_week5 chapter 6 the little man computer Flashcards

1
Q

,

The Little Man Computer

A

https://s3.amazonaws.com/classconnection/655/flashcards/7082655/png/imageqm21qx-14A629DE19D42908DAE.png

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

,

Mailboxes: Address vs. Content

A

▪ Addresses are consecutive starting at 00

and ending at 99

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

,

contents of the mailbox

A

Content may be

▪ Data, a three digit number, or

▪ Instructions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

,

Content: Instructions

Op code

A

▪ In LMC, represented by a single digit

▪ Operation code

▪ Arbitrary mnemonic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

,

Operand

A

▪ In LMC, represented by two digits following the op code

▪ Object to be manipulated

Data or

Address of data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

,

Content: Instructions

A

https://s3.amazonaws.com/classconnection/655/flashcards/7082655/png/selection_267-14A62A05ED42177BDC6.png

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

,

what is the magic in the LMC?

A

▪ Load program into memory

▪ Put data into In Basket

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

,

Assembly Language

A

▪ Specific to a CPU

▪ 1 to 1 correspondence between

assembly language instruction and

binary (machine) language instruction

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

,

Mnemonics

A

(short character sequence)

represent instructions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

,

when is assembly language used ?

A

▪ Used when programmer needs precise

control over hardware, e.g.,device

drivers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

,

Instruction Set

A

https://s3.amazonaws.com/classconnection/655/flashcards/7082655/png/selection_268-14A62A288205A258BFD.png

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

,

Input/Output in LMC

A

Move data between calculator and

in/out baskets

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

,

did you know the LMC Input/Output

A

https://s3.amazonaws.com/classconnection/655/flashcards/7082655/png/selection_270-14A62A3E9147A50B6F3.png

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

,

Internal Data Movement

A

▪ Between mailbox and calculator

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

,

LMC Internal Data

A

https://s3.amazonaws.com/classconnection/655/flashcards/7082655/png/imageagvkrx-14A62A506A96C951748.png

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

,

Arithmetic Instructions

A

▪ Read mailbox

▪ Perform operation in the calculator

17
Q

,

LMC Arithmetic Instructions

A

https://s3.amazonaws.com/classconnection/655/flashcards/7082655/png/selection_273-14A62A657622C8B6376.png

18
Q

,

Data storage location

A

▪ Physically identical to instruction mailbox

▪ Not located in instruction sequence

▪ Identified by DAT mnemonic

19
Q

,

Simple Program: Add 2 Numbers

A

▪ Assume data is stored

in mailboxes with

addresses >90

▪ Write instructions

20
Q

,

Program to Add 2 Numbers

A

https://s3.amazonaws.com/classconnection/655/flashcards/7082655/png/selection_275-14A62A8B62B5C5EF120.png

21
Q

,

Program to Add 2 Numbers:

Using Mnemonics

A

https://s3.amazonaws.com/classconnection/655/flashcards/7082655/png/selection_276-14A62A96BAE5B15CCE4.png

22
Q

,

Program Control

A

▪ Branching (executing an instruction out

of sequence)

Changes the address in the counter

23
Q

,

LMC Instruction Set

A

https://s3.amazonaws.com/classconnection/655/flashcards/7082655/png/selection_278-14A62AB733F2F06F758.png

24
Q

,

Find Positive Difference of 2 Numbers

A

https://s3.amazonaws.com/classconnection/655/flashcards/7082655/png/selection_279-14A62AC00C109BFC399.png

25
Q

,

Instruction Cycle

A

▪ Fetch: Little Man finds out what

instruction he is to execute

▪ Execute: Little Man performs the work.

26
Q

,

Fetch Portion of

Fetch and Execute Cycle

A

https://s3.amazonaws.com/classconnection/655/flashcards/7082655/png/selection_280-14A62AD1ED52BF1F673.png

27
Q

,

Fetch, cont.

A

https://s3.amazonaws.com/classconnection/655/flashcards/7082655/png/selection_281-14A62ADB10661F3D94C.png

28
Q

,

Execute Portion

A

https://s3.amazonaws.com/classconnection/655/flashcards/7082655/png/selection_282-14A62AE2DA379F437E6.png

29
Q

,

Execute, cont

A

https://s3.amazonaws.com/classconnection/655/flashcards/7082655/png/selection_283-14A62AEC8147E934B37.png

30
Q

,

von Neumann Architecture

1945

A

▪ Stored program concept

▪ Memory is addressed linearly

▪ Memory is addressed without regard to content

31
Q

,

check the slides chapter week 5 instructions cycle

A

yay