assembly language + LMC language Flashcards

1
Q

assembly languages…

A

substituted binary code with mnemonics

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

assembly language is directly translated into binary machine code by an _________

A

assembler

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

mnemonic: ADD

A

instruction: add

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

mnemonic: SUB

A

instruction: subtract

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

mnemonic: STA

A

instruction: store

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

mnemonic: LDA

A

instruction: load

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

mnemonic: BRA

A

instruction: branch always

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

mnemonic: BRZ

A

instruction: branch if zero

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

mnemonic: BRP

A

instruction: branch if positive

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

mnemonic: INP

A

instruction: input

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

mnemonic: OUT

A

instruction: output

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

mnemonic: HLT

A

instruction: end program

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

mnemonic: DAT

A

instruction: data location

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

operand
000
^
opcode

A

instruction register holds opcode: first digit
address register holds operand: second and third digits

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

LMC - pc and accumulator limits

A

pc holds only two digits: 0 to 99
accumulator holds three digits and a sign: -999 to 999

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