Final Exam Flashcards
LD (Load)
16 bit instruction that loads a 4 digit value (Aaaa) in BCD or in Hexadecimal.
Can put V- user memory and K - constant
LDD (Load Double)
16 bit instruction that loads a 8 digit value (Aaaa) in BCD or in Hexadecimal.
Can put V- user memory and K - constant.
Takes two V-memory spots
OUT (Box instruction)
A 16 bit instruction that copies the value in the lower 16 bits of the accumulator into a specified v- memory location.
V-memory
OUTD (Out Double )
a 32 bit instruction that copies 32 bit value or the 8 digit BCD or hexadecimal from the accumulator into two consecutive V-memory location.
ie: V1400 and V1401
ADD (Box)
Add is a 16 bit instruction that adds a 16 bit 4 digit BCD value in the accumulator with another 16 bit 4 digit BCD in V-memory.
V memory in add box must be in a V-memory location.
# V-memory #Pointers
ADDD (Add Double)
A 32 bit instruction that adds 32 bit 8 digit BCD Value with another one. Goes into two consecutive V-memory locations.
%V-memory,% Pointers,%Constants K
SUB
Subtract 16 bit 4 digit BCD value with another one. Can’t use k- constants in box.
%V-memory,%Pointers
Special Relay- SP70 ON anytime the value in accumulator is negative.
SUBD
Subtract 32 bit 8 Digit BCD value with another one. Must be outed into two consecutive V-memory location.
%V-memory,%Pointers,% Constants
MUL (Multiply)
A 16 bit instruction the multiplies 4 digit BCD values with another one. The result can be up to 8 digits and resides in the accumulator.
%V-memory,%Pointer,%Constants
MULD (Multiply Double)
64 bit instruction that can multiply two 32 bit 8 digit BCD value into two consecutive V-memory locations.
%V-memory, %Pointers
DIV (Divide)
Divides a 32, 8 digit BCD value by a 16 bit 4 digit value BCD value.
%V-memory, %Pointers, % Constants
DIVD (Divide Double)
Divides a 32, 8 digit BCD value by a 32 bit 8 digit value BCD value. Outed into two consecutive V-memory locations.
% V-memory % Pointers
AND
16 bit instruction that logically AND’s the binary value in the lower 16 bits of the accumulator.
0101,0011,1001,111
AND with 0000,0000,1111,1111
equals 0000,0000,1001,1111
– Resets specific bits (using 0’s in those places)
%V-memory, %Pointers
OR
16 bit instruction that logically OR’s the binary value of the with a specific V-memory location.
Sets specific bits (using 1’s in those places)
0101,0011,1001,1111 or it with
0000,1111,0000,0000 equals
0101,1111,1001,1111
%V-memory, %Pointers
XOR (Exclusive OR)
16 bit instruction that performs an exclusive-OR of the binary value of a specific V-memory location.
Selectively inverts bits (using 1’s)
0101,0011,1001,1111 XOR with
1111,1100,0000,0000 equals
1010,1111,1001,1111