-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbitop_out
More file actions
134 lines (134 loc) · 4.58 KB
/
bitop_out
File metadata and controls
134 lines (134 loc) · 4.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
Loading asm/bitop_test.gbFile loaded successfully: 1
Calling decode(cbf8)
found opcode 0xCB!
data: f8, bitnum: 7, regnum: 8
Bit num is: 7, Reg num is: 3
bit is 7, reg8 is 3, mask is 0x80, new value is: 80
-----------------------------------------------------------
Program Counter is at: 0x0101, which contains: 0xf8
The contents of the 8- and 16-bit registers are:
A: 0x00 F: 0x00
B: 0x80 C: 0x00
D: 0x00 E: 0x00
H: 0x00 L: 0x00
AF: 0x0000, BC: 0x8000, DE: 0x0000, HL: 0x0000, SP: 0x0000
Flag state: H: 0, C: 0, N: 0, Z: 0
Memory Error: 0
Last used Memory location: 0x0101, which contains: f8
-----------------------------------------------------------
Calling decode(f8cb)
-----------------------------------------------------------
Program Counter is at: 0x0102, which contains: 0xcb
The contents of the 8- and 16-bit registers are:
A: 0x00 F: 0x00
B: 0x80 C: 0x00
D: 0x00 E: 0x00
H: 0x00 L: 0x00
AF: 0x0000, BC: 0x8000, DE: 0x0000, HL: 0x0000, SP: 0x0000
Flag state: H: 0, C: 0, N: 0, Z: 0
Memory Error: 0
Last used Memory location: 0x0102, which contains: cb
-----------------------------------------------------------
Calling decode(cb30)
found opcode 0xCB!
-----------------------------------------------------------
Program Counter is at: 0x0103, which contains: 0x30
The contents of the 8- and 16-bit registers are:
A: 0x00 F: 0x80
B: 0x08 C: 0x00
D: 0x00 E: 0x00
H: 0x00 L: 0x00
AF: 0x0080, BC: 0x0800, DE: 0x0000, HL: 0x0000, SP: 0x0000
Flag state: H: 0, C: 0, N: 0, Z: 1
Memory Error: 0
Last used Memory location: 0x0103, which contains: 30
-----------------------------------------------------------
Calling decode(30cb)
-----------------------------------------------------------
Program Counter is at: 0x0104, which contains: 0xcb
The contents of the 8- and 16-bit registers are:
A: 0x00 F: 0x80
B: 0x08 C: 0x00
D: 0x00 E: 0x00
H: 0x00 L: 0x00
AF: 0x0080, BC: 0x0800, DE: 0x0000, HL: 0x0000, SP: 0x0000
Flag state: H: 0, C: 0, N: 0, Z: 1
Memory Error: 0
Last used Memory location: 0x0104, which contains: cb
-----------------------------------------------------------
Calling decode(cb78)
found opcode 0xCB!
calling bit(78)
data: 78, bitnum: 7, regnum: 8
calling bit(7, 3)
in bit(), mask is:128, newValue is: 0
-----------------------------------------------------------
Program Counter is at: 0x0105, which contains: 0x78
The contents of the 8- and 16-bit registers are:
A: 0x00 F: 0xa0
B: 0x08 C: 0x00
D: 0x00 E: 0x00
H: 0x00 L: 0x00
AF: 0x00a0, BC: 0x0800, DE: 0x0000, HL: 0x0000, SP: 0x0000
Flag state: H: 1, C: 0, N: 0, Z: 1
Memory Error: 0
Last used Memory location: 0x0105, which contains: 78
-----------------------------------------------------------
Calling decode(78cb)
-----------------------------------------------------------
Program Counter is at: 0x0106, which contains: 0xcb
The contents of the 8- and 16-bit registers are:
A: 0x00 F: 0xa0
B: 0x08 C: 0x00
D: 0x00 E: 0x00
H: 0x00 L: 0x00
AF: 0x00a0, BC: 0x0800, DE: 0x0000, HL: 0x0000, SP: 0x0000
Flag state: H: 1, C: 0, N: 0, Z: 1
Memory Error: 0
Last used Memory location: 0x0106, which contains: cb
-----------------------------------------------------------
Calling decode(cb58)
found opcode 0xCB!
calling bit(58)
data: 58, bitnum: 3, regnum: 8
calling bit(3, 3)
in bit(), mask is:8, newValue is: 1
-----------------------------------------------------------
Program Counter is at: 0x0107, which contains: 0x58
The contents of the 8- and 16-bit registers are:
A: 0x00 F: 0x20
B: 0x08 C: 0x00
D: 0x00 E: 0x00
H: 0x00 L: 0x00
AF: 0x0020, BC: 0x0800, DE: 0x0000, HL: 0x0000, SP: 0x0000
Flag state: H: 1, C: 0, N: 0, Z: 0
Memory Error: 0
Last used Memory location: 0x0107, which contains: 58
-----------------------------------------------------------
Calling decode(5876)
-----------------------------------------------------------
Program Counter is at: 0x0108, which contains: 0x76
The contents of the 8- and 16-bit registers are:
A: 0x00 F: 0x20
B: 0x08 C: 0x00
D: 0x00 E: 0x00
H: 0x00 L: 0x00
AF: 0x0020, BC: 0x0800, DE: 0x0000, HL: 0x0000, SP: 0x0000
Flag state: H: 1, C: 0, N: 0, Z: 0
Memory Error: 0
Last used Memory location: 0x0108, which contains: 76
-----------------------------------------------------------
Calling decode(7600)
in halt :)
-----------------------------------------------------------
Program Counter is at: 0x0109, which contains: 0x00
The contents of the 8- and 16-bit registers are:
A: 0x00 F: 0x20
B: 0x08 C: 0x00
D: 0x00 E: 0x00
H: 0x00 L: 0x00
AF: 0x0020, BC: 0x0800, DE: 0x0000, HL: 0x0000, SP: 0x0000
Flag state: H: 1, C: 0, N: 0, Z: 0
Memory Error: 0
Last used Memory location: 0x0109, which contains: 00
-----------------------------------------------------------