Dangerous code

03.05.2007 10:21

This piece of Z80 code will assemble into a certain 16 byte sequence that seems to be quite popular last few days.

add hl,bc	;0100   09
ld sp,hl        ;0101   f9
ld de,09d02h    ;0102   11 02 9d
ld (hl),h       ;0105   74
ex (sp),hl      ;0106   e3
ld e,e          ;0107   5b
ret c           ;0108   d8
ld b,c          ;0109   41
ld d,(hl)       ;010a   56
push bc         ;010b   c5
ld h,e          ;010c   63
ld d,(hl)       ;010d   56
adc a,b         ;010e   88
ret nz          ;010f   c0
Posted by Tomaž | Categories: Ideas

Add a new comment


(No HTML tags allowed. Separate paragraphs with a blank line.)