Disassembling the Triad T2556: Memory

Part Nine in a Series on the Triad T2556

Photo by Jo Szczepanska on Unsplash
b = xor(b, byte)
c = rrc(xor(c, byte))
ld a, 0
dec de ; decrement de
cp e ; is e equal to 0 (the contents of a)?
jr nz, loop ; re-run the loop if it is not
cp d ; is d equal to 0 (the contents of a)?
jr nz, loop ; re-run the loop if it is not
ld (hl), l
inc hl

Software and Technology Nerd, DevOps Ninja, Maker of Things, Aerospace Enthusiast. https://orc.works/