Login

Subversion Repositories NedoOS

Rev

Rev 49 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

_JPHL__
        BX R1

;R1 >> R2
;out: R1
_SHR__
_SHRB__
        PUSH {LR}
        ASRS R1,R2
        POP {PC}

;R1 << R2
;out: R1
_SHL__
        PUSH {LR}
        LSLS R1,R2
        POP {PC}

;R1 << R2
;out: R1
_SHLB__
        PUSH {LR}
        LSLS R1,R2
        ANDS R1,R7 ;0xff
        POP {PC}