跳到主要内容

My First Post

·188 字

Hello, World! by Typecho.

Hello world again @ 2023.2.15 via Vercel by Hugo.

P_SW1       DATA    0A2H

P0M1        DATA    093H
P0M0        DATA    094H
P1M1        DATA    091H
P1M0        DATA    092H
P2M1        DATA    095H
P2M0        DATA    096H
P3M1        DATA    0B1H
P3M0        DATA    0B2H
P4M1        DATA    0B3H
P4M0        DATA    0B4H
P5M1        DATA    0C9H
P5M0        DATA    0CAH

            ORG     0000H
            LJMP    MAIN

            ORG     0100H
MAIN:
            MOV     SP, #5FH
            MOV     P0M0, #00H
            MOV     P0M1, #00H
            MOV     P1M0, #00H
            MOV     P1M1, #00H
            MOV     P2M0, #00H
            MOV     P2M1, #00H
            MOV     P3M0, #00H
            MOV     P3M1, #00H
            MOV     P4M0, #00H
            MOV     P4M1, #00H
            MOV     P5M0, #00H
            MOV     P5M1, #00H

            MOV     P_SW1,#00H                  ;RXD/P3.0, TXD/P3.1
;           MOV     P_SW1,#40H                  ;RXD_2/P3.6, TXD_2/P3.7
;           MOV     P_SW1,#80H                  ;RXD_3/P1.6, TXD_3/P1.7
;           MOV     P_SW1,#0C0H                 ;RXD_4/P4.3, TXD_4/P4.4

            SJMP    $

            END
ORG 0000H

; Timer 0 Mode 1
MOV TMOD,#01H
HERE:MOV TH0,#11111100B
MOV TL0,#01100110B
ACALL DELAY
SJMP HERE
; Delay Subroutine
DELAY:SETB TR0
AGAIN:JNB TF0,AGAIN
CLR TR0
CLR TF0
RET
END

Wireguard bypass 100.64.0.0/10

[Interface]
PrivateKey = ...
Address = 172.16.0.2/32
DNS = 1.1.1.1
MTU = 1400

[Peer]
PublicKey = ...
#AllowedIPs = 0.0.0.0/0
AllowedIPs = 0.0.0.0/2, 64.0.0.0/3, 96.0.0.0/6, 100.0.0.0/10, 100.128.0.0/9, 101.0.0.0/8, 102.0.0.0/7, 104.0.0.0/5, 112.0.0.0/4, 128.0.0.0/1
Endpoint = [2606:4700:d0::a29f:c001]:2408