You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
XRA A // Initialize Accumulator with 00 (MVI A,00)
//XRA -> XOR operation between source operand and destination operand and store the result in the accumulator Here, source and destination operand both are same => Therefore, the result after performing XOR operation, stored in the accumulator is 00
LOOP: ADD M
INX H
DCR C
JNZ LOOP // Until C is zero, LOOP -> Loop back
STA 2050
RST 1
# ORG 2000 // Memory address where value is to be stored