Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; point_iszero(struct Point *pt)
- _point_iszero:
- pop hl
- push hl
- ld b, 60
- or a
- .loop:
- or (hl)
- inc hl
- djnz .loop
- or a
- ret z
- ld a, 1
- ret
- ; bigint_iszero(uint8_t *op);
- _bigint_iszero:
- pop hl
- push hl
- ld b, 30
- or a
- .loop:
- or (hl)
- inc hl
- djnz .loop
- or a
- ret z
- ld a, 1
- ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement