Skip to content

Commit 10cf0b1

Browse files
committed
Move first comment inside function
1 parent 6fc6f8d commit 10cf0b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/instruction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ function isTwoWordInstruction(opcode: u16) {
2525
export function avrInstruction(cpu: ICPU) {
2626
const opcode = cpu.progMem[cpu.pc];
2727

28-
/* ADC, 0001 11rd dddd rrrr */
2928
if ((opcode & 0xfc00) === 0x1c00) {
29+
/* ADC, 0001 11rd dddd rrrr */
3030
const d = cpu.data[(opcode & 0x1f0) >> 4];
3131
const r = cpu.data[(opcode & 0xf) | ((opcode & 0x200) >> 5)];
3232
const sum = d + r + (cpu.data[95] & 1);

0 commit comments

Comments
 (0)