Detailed Instruction Repertoire of the MCS-4
Intel 4004 Instructions Set
INSTRUCTIONMNEMONIC
BINARY EQUIVALENT
1st byte2nd byte
MODIFIERS
No OperationNOP00000000-none
Jump ConditionalJCN0001CCCCAAAAAAAAcondition, address
Fetch ImmediateFIM0010RRR0DDDDDDDDregister pair, data
Send Register ControlSRC0010RRR1-register pair
Fetch IndirectFIN0011RRR0-register pair
Jump IndirectJIN0011RRR1-register pair
Jump UncoditionalJUN0100AAAAAAAAAAAAaddress
Jump to SubroutineJMS0101AAAAAAAAAAAAaddress
IncrementINC0110RRRR-register
Increment and SkipISZ0111RRRRAAAAAAAAregister, address
AddADD1000RRRR-register
SubtractSUB1001RRRR-register
LoadLD1010RRRR-register
ExchangeXCH1011RRRR-register
Branch Back and LoadBBL1100DDDD-data
Load ImmediateLDM1101DDDD-data
Write Main MemoryWRM11100000-none
Write RAM PortWMP11100001-none
Write ROM PortWRR11100010-none
Write Status Char 0WR011100100-none
Write Status Char 1WR111100101-none
Write Status Char 2WR211100110-none
Write Status Char 3WR311100111-none
Subtract Main MemorySBM11101000-none
Read Main MemoryRDM11101001-none
Read ROM PortRDR11101010-none
Add Main MemoryADM11101011-none
Read Status Char 0RD011101100-none
Read Status Char 1RD111101101-none
Read Status Char 2RD211101110-none
Read Status Char 3RD311101111-none