;***********************************************************
; THE 4004 TABLE SUPPORTS THE INTEL MCS-40 INSTRUCTION SET
; FOR THE 4001 THROUGH 4040.  THE EXTRA INSTRUCTIONS FOR 
; THE 4040 ARE CLEARLY MARKED AT THE END OF THE TABLE,
; AND MAY BE REMOVED BY THE USER.
;
         CPU     "4004.TBL"    ;CPU TABLE
         HOF     "INT8"        ;HEX FORMAT
;  
; SOME EXAMPLES OF MCS-40 INSTRUCTIONS FOLLOW:

	ORG	0

	NOP			;00
	HLT			;01
	BBS			;02
	LCR			;03
	OR4			;04
	OR5			;05
	AN6			;06
	AN7			;07
	DB0			;08
	DB1			;09
	SB0			;0A
	SB1			;0B
	EIN			;0C
	DIN			;0D
	RPM			;0E
	SRC	2		;23
	SRC	4		;25
	FIN	14		;3E
	JIN	14		;3F
	INC	0		;60
	ADD	4		;84
	SUB	8		;98
	LD	13		;AD
	XCH	12		;BC
	BBL	9		;C9
	LDM	8		;D8
	WR0			;E4
	WR1			;E5
	WR2			;E6
	WR3			;E7
	SBM			;E8
	RDM			;E9
	RDR			;EA
	ADM			;EB
	RD0			;EC
	RD1			;ED
	RD2			;EE
	RD3			;EF

	CLB			;F0
	CLC			;F1
	IAC			;F2
	CMC			;F3
	CMA			;F4
	RAL			;F5
	RAR			;F6
	TCC			;F7
	DAC			;F8
	TCS			;F9
	STC			;FA
	DAA			;FB
	KBP			;FC
	DCL			;FD

	END
