pouët.net

Random line of code thread

category: code [glöplog]
Those label names get bigger :)

Code: noMoveStencilObjectButCirclesOpenClose: ld a,96 jr z,oofStencil1 bit 7,b:jr nz,noZoomOutStencilObject ld a,b:srl a:srl a add 64 noZoomOutStencilObject: jr oofStencil2 oofStencil1: bit 7,b:jr z,noZoomInStencilObject ld a,b:sub 128:srl a:srl a ld b,a:ld a,96:sub b noZoomInStencilObject: oofStencil2: ld (hl),a
added on the 2026-10-22 19:44:52 by Optimus Optimus
Find an assembler that supports the "+" and "-" relative labels.
added on the 2026-10-22 22:20:49 by fizzer fizzer
Code: clr.w -(a7) ; store LED state btst #1,$bfe001 ; sne (a7) ; bset #1,$bfe001 ; set LED dark . . . tst.w (a7)+ ; restore LED state bne .leddark ; bclr #1,$bfe001 ; LED bright .leddark
added on the 2026-11-09 20:48:26 by Depeche Depeche

login