gb_test2
changeset 6:6a7eb418caec tip
even better chessboard
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 12 Jan 2019 00:05:14 +0200 |
parents | be6f719279b6 |
children | |
files | test.asm |
diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
line diff
1.1 --- a/test.asm Thu Jan 10 08:02:38 2019 +0200 1.2 +++ b/test.asm Sat Jan 12 00:05:14 2019 +0200 1.3 @@ -213,10 +213,14 @@ 1.4 ld c, 32 1.5 .fillrow: 1.6 ld a, b 1.7 - add a, c 1.8 + srl a 1.9 + ld d, a 1.10 + ld a, c 1.11 + srl a 1.12 + add a, d 1.13 and a, 1 1.14 - 1.15 ld [hl+], a 1.16 + ld a, d 1.17 dec c 1.18 jr nz, .fillrow 1.19