CRACK Solution
One Compare
CRACK single cmp

Prerequisites
Unlocks
Y
Techniquesingle cmp
Rulenonzero
SampleY
Walkthrough
Recover the accepted input below, then submit it to the CRACK verifier.
Reject Samples
- X
- Z
- y
Verifier Listing
; u01_one_compare: the absolute minimum: load one byte, compare it to one
; constant, return the verdict. Technique: a single cmp. Look the immediate up in
; the ASCII table. r0 = 1 on accept. Accept rule: nonzero.
;
; 0x59 = 'Y'. (Like the original, only the first byte is checked.)
mov r7, 0
ldb r0, [r7]
cmp r0, 0x59 ; 'Y'
jz ok
mov r0, 0
ret
ok: mov r0, 1
ret