mirror of
https://github.com/mlaux/gb6.git
synced 2025-01-14 05:32:05 +00:00
oops
This commit is contained in:
parent
aba7a9b847
commit
d22e2d9cba
@ -22,6 +22,21 @@ struct basic_block {
|
||||
|
||||
uint8_t test_code[] = {
|
||||
0x00, // nop
|
||||
0x06, 0x00, // ld b, $0
|
||||
0x0e, 0x11, // ld c, $11
|
||||
0x16, 0x22, // ld d, $22
|
||||
0x1e, 0x33, // ld e, $33
|
||||
0x26, 0x44, // ld h, $44
|
||||
0x2e, 0x55, // ld l, $55
|
||||
0x36, 0x66, // ld [hl], $66
|
||||
0x3e, 0x77, // ld a, $77
|
||||
0x01, 0x23, 0x01, // ld bc, $0123
|
||||
0x11, 0x67, 0x45, // ld de, $4567
|
||||
0x21, 0xab, 0x89, // ld hl, $89ab
|
||||
0x31, 0xef, 0xcd, // ld sp, $cdef
|
||||
0x3e, 0x0a, // .loop: ld a, 10
|
||||
0x3d, // dec a
|
||||
0x20, 0xfd, // jr nz, .loop
|
||||
0x18, 0xfe, // jr $-1
|
||||
0xc9 // ret
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user