; A NOR B = NOT(A AND B)
;NOT(A AND B) = NOT(A) or NOT(B)

.ORIG	x3000

LD	R1,DATA1  ; load in data
LD	R2,DATA2  ; Load in data

AND	R1,R1,R2  ; AND THE TWO VALUES
NOT 	R1,R1     ; NOT THEM


HALT

DATA1	.FILL	#5
DATA2	.FILL	#6

.END

It looks correct:
R1 = R1 and R2; (D1 and D2)
R1 = not R1; not (D1 and D2) = D1 nor D2;

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.