1481: store_hamming_nibble: Read the four data bits from hamming coded byte into address in HL
store_hamming_nibble |
1481 |
LD A,(hamming_table_counter) |
|
1484 |
LD B,$00 |
|
1486 |
BIT 1,A |
|
1488 |
JR Z,store_hamming_nibble_0 |
|
148A |
INC B |
store_hamming_nibble_0 |
148B |
BIT 3,A |
|
148D |
JR Z,store_hamming_nibble_1 |
|
148F |
SET 1,B |
store_hamming_nibble_1 |
1491 |
BIT 5,A |
|
1493 |
JR Z,store_hamming_nibble_2 |
|
1495 |
SET 2,B |
store_hamming_nibble_2 |
1497 |
BIT 7,A |
|
1499 |
JR Z,store_hamming_nibble_3 |
|
149B |
SET 3,B |
store_hamming_nibble_3 |
149D |
LD A,B |
|
149E |
AND $0F |
|
14A0 |
LD (HL),A |
|
14A1 |
RET |