⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 crt0_rle.s

📁 Small Device C Compiler 面向Inter8051
💻 S
字号:
        .area   _CODE                ;; Special RLE decoder used for initing global data__initrleblock::        ;; Pull the destination address out        ld      c,l        ld      b,h                ;; Pop the return address        pop     hl1$:        ;; Fetch the run        ld      e,(hl)        inc     hl        ;; Negative means a run        bit     7,e        jp      z,2$        ;; Code for expanding a run        ld      a,(hl)        inc     hl3$:        ld      (bc),a        inc     bc        inc     e        jp      nz,3$        jp      1$2$:        ;; Zero means end of a block        xor     a        or      e        jp      z,4$        ;; Code for expanding a block5$:             ld      a,(hl)                inc     hl        ld      (bc),a        inc     bc        dec     e        jp      nz,5$        jp      1$4$:             ;; Push the return address back onto the stack        push    hl        ret

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -