Core War Flashcards

1
Q

DAT

A

data (kills the process)

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

MOV

A

move (copies data from one address to another)

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

ADD

A

add (adds one number to another)

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

SUB

A

subtract (subtracts one number from another)

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

MUL

A

multiply (multiplies one number with another)

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

DIV

A

divide (divides one number with another)

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

MOD

A

modulus (divides one number with another and gives the remainder)

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

JMP

A

jump (continues execution from another address)

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

JMZ

A

jump if zero (tests a number and jumps to an address if it’s 0)

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

JMN

A

jump if not zero (tests a number and jumps if it isn’t 0)

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

DJN

A

decrement and jump if not zero (decrements a number by one, and jumps unless the result is 0)

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

SPL

A

split (starts a second process at another address)

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

CMP

A

compare (same as SEQ)

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

SEQ

A

skip if equal (compares two instructions, and skips the next instruction if they are equal)

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

SNE

A

skip if not equal (compares two instructions, and skips the next instruction if they aren’t equal)

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

SLT

A

skip if lower than (compares two values, and skips the next instruction if the first is lower than the second)

17
Q

LDP

A

load from p-space (loads a number from private storage space)

18
Q

STP

A

save to p-space (saves a number to private storage space)

19
Q

NOP

A

no operation (does nothing)