shift in the other direction

This commit is contained in:
Wolfgang Hottgenroth 2024-06-13 15:10:23 +02:00
parent 9e78f9a0cd
commit 497318e34a
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@
.macro data_cycle id .macro data_cycle id
genShifter_\id\(): genShifter_\id\():
rla.w DATA_REGISTER rra.w DATA_REGISTER
jnc genShifter_false_\id\() jnc genShifter_false_\id\()
set_data_bit set_data_bit
jmp genShifter_clock_\id\() jmp genShifter_clock_\id\()

View File

@ -9,6 +9,6 @@ void generatorInit() {
P1OUT |= BIT0 | BIT1 | BIT2 | BIT3; P1OUT |= BIT0 | BIT1 | BIT2 | BIT3;
genShifter(0, 0x8001); genShifter(0, 0x8002);
} }