; add.asm
; add two 4bit numbers on the Intel 4004
;
 	FIM R0R1, 0x78 ; initialize: R0=8 R1=7
 	LD R0          ; load R0 into accumulator
 	ADD R1         ; add F1 into accumulator
 	XCH R1         ; and store in R1
done:
 	JUN done       ; endless loop as end of program
