asp

Python code posted by asp
created at 18 Jul 07:44, updated at 18 Jul 07:59

Edit | Back
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Init_DAB_DDC:
    AR = DM(CONFIG_DQPSK_MODE);
    AY0 = CONFIG_DQPSK_NORMALIZATION;
    NONE = AR - AY0;
    IF NE JUMP set_dpsk_mode;
    AR = 0x23;                         ! DQPSK normalization mode
    IO(CHDEC_DAB_CTRL) = AR;
    !AX0 = 0x0D;
    !CALL UART_PUTC;
    !AX0 = 0x30;  ! print 0
    !CALL UART_PUTC;
    Jump exit_dpsk_mode;
set_dpsk_mode:
    AR = 0x21;                         ! DQPSK coordination mode
    IO(CHDEC_DAB_CTRL) = AR;           ! DQPSK coordination mode = 0x21(this mode has good performance in fading)
    !AX0 = 0x0D;
    !CALL UART_PUTC;
    !AX0 = 0x31;  ! printf 1
    !CALL UART_PUTC;
641 Bytes in 2 ms with coderay