亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? dabort.s

?? windows ce 50 drive program
?? S
?? 第 1 頁 / 共 5 頁
字號:
;
; * Set the M, P, U and W bits correctly in R0 (1/0/1/1 for POP,
;   1/1/0/1 for PUSH).
; * Set R1 to the correct base register number (R13).

                BIC     R3, R0, #0xFE00
                MOV     R1, #(0xD :SHL: ARM_Rn_pos)
                TST     R0, #Thumb_L_bit
                ORREQ   R0, R0, #ARM_M_bit + ARM_P_bit + ARM_W_bit
                ORRNE   R0, R0, #ARM_M_bit + ARM_U_bit + ARM_W_bit
                B       ARM_LDM_STM_OK

; Analysis of Thumb PC-based LDM/STM instructions
; -----------------------------------------------

Thumb_LDM_STM

; Checks for errors:

; * Empty register mask - register mask gets calculated at the same
;   time and put in R3.

                BICS    R3, R0, #0xFF00
                MOVEQ   R6, #DABORT_ERROR_LDMSTM_EMPTY
                BEQ     CallOSHandlerWithError

; * Writeback and load of the same register. We've definitely got
;   writeback, so it's just a question of whether the base register
;   appears in the register list. First, get the base register number
;   into R1 and put it into ARM base register position (where it is
;   needed later anyway). Then check whether it appears in the
;   register list.

                AND     R1, R0, #Thumb_unusual_reg_mask
                MOV     R1, R1, LSL #(ARM_Rn_pos - Thumb_unusual_reg_pos)

                MOV     R7, R1, LSR #ARM_Rn_pos
                MOV     R7, R3, LSR R7
                TST     R7, #1
                MOVNE   R6, #DABORT_ERROR_LOAD_WB
                BNE     CallOSHandlerWithError

; We will branch into the ARM LDM/STM code at the point where all
; error checks have been performed. The only thing we still need to do
; is set the M, P, U and W bits correctly in R0 (1/0/1/1 for both LDM
; and STM).

                ORR     R0, R0, #ARM_M_bit + ARM_U_bit + ARM_W_bit
                B       ARM_LDM_STM_OK

; Analysis of Thumb LDRx/STRx with register offset
; ------------------------------------------------
;
; R0 bits should be M=0, P=1, U=1, W=0. R1 and R3 are right; R2 value
; should be obtained from the Thumb instruction's Rm field. There are
; no problems with an index register of R15 or with writeback with
; index = base, since the Thumb instruction doesn't permit a "high"
; index register or base register writeback.

Thumb_RegOffset
                ORR     R0, R0, #ARM_P_bit + ARM_U_bit
                AND     R2, R0, #Thumb_usual_Rm_mask
                LDR     R2, [R13, R2, LSR #(Thumb_usual_Rm_pos - 2)]
                B       RegisterAdjust

; Analysis of Thumb SP-based LDR/STR
; ----------------------------------
;
; R0 bits should be M=0, P=1, U=1, W=0. R1 should indicate R13. R3
; should be calculated from the variant Rd position used for this
; instruction. Finally, the offset is extracted from the instruction
; and shifted into "times 4" position.

Thumb_SPbased
                ORR     R0, R0, #ARM_P_bit + ARM_U_bit
                MOV     R1, #(0xD :SHL: ARM_Rn_pos)
                AND     R3, R0, #Thumb_unusual_reg_mask
                MOV     R3, R3, LSL #(ARM_Rd_pos - Thumb_unusual_reg_pos)
                AND     R2, R0, #Thumb_Imm8_mask
                MOV     R2, R2, LSL #(2 - Thumb_Imm8_pos)
                B       RegisterAdjust

; Analysis of Thumb PC-based LDR
; ------------------------------

Thumb_PCbased

; Check instruction is right (not the data processing instructions
; with the same major opcode, which look like PC-based STRs).

                TST     R0, #Thumb_L_bit
                BEQ     ARM_Should_Not_Happen

; R0 bits should be M=0, P=1, U=1, W=0. R1 should indicate R15; the
; "RegisterAdjust" code below will apply the appropriate
; Thumb-specific modifications to it. R3 should be calculated from the
; variant Rd position used for this instruction. Finally, the offset
; is extracted from the instruction and shifted into "times 4"
; position.

                ORR     R0, R0, #ARM_P_bit + ARM_U_bit
                MOV     R1, #(0xF :SHL: ARM_Rn_pos)
                AND     R3, R0, #Thumb_unusual_reg_mask
                MOV     R3, R3, LSL #(ARM_Rd_pos - Thumb_unusual_reg_pos)
                AND     R2, R0, #Thumb_Imm8_mask
                MOV     R2, R2, LSL #(2 - Thumb_Imm8_pos)
                B       RegisterAdjust

; Analysis of Thumb LDR/STR with immediate offset
; -----------------------------------------------
;
; R1 and R3 values are already correct; R0 bits should be M=0, P=1,
; U=1, W=0; offset needs to be extracted from the instruction and
; shifted into "times 4" position.

Thumb_LDR_STR
                ORR     R0, R0, #ARM_P_bit + ARM_U_bit
                AND     R2, R0, #Thumb_Imm5_mask
                MOV     R2, R2, LSR #(Thumb_Imm5_pos - 2)
                B       RegisterAdjust

; Analysis of Thumb LDRB/STRB with immediate offset
; -------------------------------------------------
;
; R1 and R3 values are already correct; R0 bits should be M=0, P=1,
; U=1, W=0; offset needs to be extracted from the instruction and
; shifted into "times 1" position.

Thumb_LDRB_STRB
                ORR     R0, R0, #ARM_P_bit + ARM_U_bit
                AND     R2, R0, #Thumb_Imm5_mask
                MOV     R2, R2, LSR #(Thumb_Imm5_pos - 0)
                B       RegisterAdjust

; Analysis of Thumb LDRH/STRH with immediate offset
; -------------------------------------------------
;
; R1 and R3 values are already correct; R0 bits should be M=0, P=1,
; U=1, W=0; offset needs to be extracted from the instruction and
; shifted into "times 2" position.

Thumb_LDRH_STRH
                ORR     R0, R0, #ARM_P_bit + ARM_U_bit
                AND     R2, R0, #Thumb_Imm5_mask
                MOV     R2, R2, LSR #(Thumb_Imm5_pos - 1)

; Fall through to RegisterAdjust.

          ] ; of SuptThumb section

RegisterAdjust

; *** Live register values at this point are:
;     R0:  M bit (bit 27) indicating multiple vs. single transfer.
;          P bit (bit 24) indicating pre- vs. post-indexing.
;          U bit (bit 23) indicating whether indexing is up or down.
;          W bit (bit 21) indicating whether base register writeback
;            is required.
;          L bit (bit 20) indicating whether a load or a store, at
;            least when writeback is occurring.
;     R1:  Number of base register, still in ARM instruction position.
;     R2:  Offset value.
;     R3:  Number of destination register, still in ARM instruction
;          position.
;     R4:  Pointer to aborting instruction
;     R5:  SPSR value
;     R6:  Error code
;     R8:  Abort model (if relevant)
;     R13: Stack pointer (pointing to register dump)
;
; This code is shared between all instructions except LDM/STMs and
; LDCs/STCs. First, check for the "Load and write back to same
; register" case.

                CMP     R3, R1, LSR #(ARM_Rn_pos - ARM_Rd_pos)
                BNE     RegisterAdjust2
                TST     R0, #ARM_W_bit
                TSTNE   R0, #ARM_L_bit
                MOVNE   R6, #DABORT_ERROR_LOAD_WB
                BNE     CallOSHandlerWithError

RegisterAdjust2

; *** Live register values at this point are:
;     R0:  M bit (bit 27) indicating multiple vs. single transfer.
;          P bit (bit 24) indicating pre- vs. post-indexing.
;          U bit (bit 23) indicating whether indexing is up or down.
;          W bit (bit 21) indicating whether base register writeback
;            is required.
;     R1:  Number of base register, still in ARM instruction position.
;     R2:  Offset value.
;     R4:  Pointer to aborting instruction
;     R5:  SPSR value
;     R6:  Error code
;     R8:  Abort model (if relevant)
;     R13: Stack pointer (pointing to register dump)
;
; If we're required to produce the transfer address, calculate the
; offset from the base address (after it has been corrected) to the
; transfer address.

          [ PassXferAddr
                TST     R0, #ARM_U_bit
                MOVNE   R3, R2
                RSBEQ   R3, R2, #0
                TST     R0, #ARM_P_bit
                MOVEQ   R3, #0
          ]

RegisterAdjust3

; *** Live register values at this point are:
;     R0:  M bit (bit 27) indicating multiple vs. single transfer.
;          P bit (bit 24) indicating pre- vs. post-indexing.
;          U bit (bit 23) indicating whether indexing is up or down.
;          W bit (bit 21) indicating whether base register writeback
;            is required.
;     R1:  Number of base register, still in ARM instruction position.
;     R2:  Offset value.
;     R3:  Transfer address - base address (if "PassXferAddr"
;          specified).
;     R4:  Pointer to aborting instruction
;     R5:  SPSR value
;     R6:  Error code
;     R8:  Abort model (if relevant)
;     R13: Stack pointer (pointing to register dump)
;
; There is one more error to check for, namely use of a base register
; of R15 with writeback. We will get hold of the base register value
; at the same time, as it happens to be convenient to use the R15 test
; for that purpose as well.

                CMP     R1, #0xF :SHL: ARM_Rn_pos
                LDRNE   R7, [R13, R1, LSR #(ARM_Rn_pos - 2)]
                BNE     RegisterAdjust4

                TST     R0, #ARM_W_bit
                MOVNE   R6, #DABORT_ERROR_R15_WB
                BNE     CallOSHandlerWithError

; Add correct offset to instruction pointer to get the right R15 base
; value. For Thumb, the only PC-based load/store instruction also
; clears bit 1.

                ADD     R7, R4, #8
        [ SuptThumb
                TST     R5, #T_bit
                ADDNE   R7, R4, #4
                BICNE   R7, R7, #2
        ]

RegisterAdjust4

; *** Live register values at this point are:
;     R0:  M bit (bit 27) indicating multiple vs. single transfer.
;          U bit (bit 23) indicating whether indexing is up or down.
;          W bit (bit 21) indicating whether base register writeback
;            is required.
;     R1:  Number of base register, still in ARM instruction position.
;     R2:  Offset value.
;     R3:  Transfer address - base address (if "PassXferAddr"
;          specified).
;     R4:  Pointer to aborting instruction
;     R5:  SPSR value
;     R6:  Error code
;     R7:  Value of base register
;     R8:  Abort model (if relevant)
;     R13: Stack pointer (pointing to register dump)
;
; We're finally ready to do base register restoration if required. The
; rules here are:
;
; * If we've got just a single abort model, follow its dictates about
;   base register restoration.
;
; * Otherwise, use the appropriate bit of the abort model number in R8.

          [ AbortModelCount = 1
            [ BaseRestored
                ; Fall through (next chunk of code won't be assembled).
            ]
            [ BaseUpdated
                ; Fall through
            ]
            [ EarlyAbort
                TST     R0, #ARM_M_bit
                BEQ     CallOSHandlerNoError
            ]
          |
                TST     R0, #ARM_M_bit
                MOVEQ   R8, R8, LSR #1
                TST     R8, #1
                BEQ     CallOSHandlerNoError
          ]

          [ :LNOT:((AbortModelCount = 1) :LAND: BaseRestored)

; If we get here, we need to restore the base register value
; appropriately, provided it has actually been written back.

                TST     R0, #ARM_W_bit
                BEQ     CallOSHandlerNoError

                TST     R0, #ARM_U_bit
                ADDEQ   R7, R7, R2      ;Add if originally subtracted
                SUBNE   R7, R7, R2      ; and vice versa
                STR     R7, [R13, R1, LSR #(ARM_Rn_pos - 2)]

          ]

CallOSHandlerNoError

          [ PassXferAddr

; Produce transfer address from corrected base address and previously
; calculated difference.

                ADD     R7, R7, R3

          ]

        ] ; of complex condition saying whether to analyse instruction

CallOSHandlerWithError

; OS-specific handler call
; ========================
;
; *** Live register values at this point are:
;     R4:  Pointer to aborting instruction
;     R5:  SPSR value
;     R6:  Error code
;     R7:  Transfer address (if wanted & relevant; otherwise junk)
;     R13: Stack pointer (pointing to register dump)
;
; Switch into the correct mode (if necessary) - but first we may need
; to put the register dump pointer somewhere safe. R8 is a suitable
; callee-save register.

        [ PassRegDumpAddr :LOR: (HandlerCallMode <> "Abort")
                MOV     R8, R13
        ]

        [ HandlerCallMode <> "Abort"
                MRS     R3, CPSR
                BIC     R3, R3, #Mode_FullMask
                ORR     R3, R3, #Mode_Callee
                MSR     CPSR$all_fields, R3
        ]

; Marshall the arguments required. This uses some rather messy
; conditional assembly, the idea of which is to marshall the arguments
; in reverse order in R0-R3, dumping partial lists to the stack. First
; count the arguments.

                GBLA    ArgCount
ArgCount        SETA    1
        [ PassSPSR
ArgCount        SETA    ArgCount+1
        ]
        [ PassInstrAddr
ArgCount        SETA    ArgCount+1
        ]
        [ PassRegDumpAddr
ArgCount        SETA    ArgCount+1
        ]
        [ PassXferAddr
ArgCount        SETA    ArgCount+1
        ]

; Now ArgVar counts down through the arguments; ArgVar2 determines
; which register each should go to; ArgString contains the arguments
; not yet on the stack, each preceded by a comma (the first comma
; needs stripping before using ArgString in an STMFD instruction.

                GBLA    ArgVar
ArgVar          SETA    ArgCount
                GBLA    ArgVar2
                GBLS    ArgString
ArgString       SETS    ""

        [ PassXferAddr
ArgVar          SETA    ArgVar-1
ArgVar2         SETA    ArgVar :AND: 3
ArgString       SETS    ",R$ArgVar2" :CC: ArgString
                MOV     R$ArgVar2, R7
          [ ArgVar2 = 0 :LAND: ArgVar <> 0
ArgString       SETS    ArgString :RIGHT: (:LEN:ArgString - 1)
                STMFD   R13!,{$ArgString}
ArgString       SETS    ""
          ]
        ]

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91麻豆精品国产91久久久使用方法| 日韩伦理免费电影| 国产人成亚洲第一网站在线播放 | 美腿丝袜亚洲色图| 九九精品视频在线看| 国产精品夜夜爽| 91福利在线免费观看| 欧美va亚洲va香蕉在线| 一区在线播放视频| 日韩av不卡一区二区| 激情国产一区二区 | 久久综合久久综合亚洲| 99久久精品国产毛片| 91精品国产全国免费观看| 精品av综合导航| 午夜日韩在线电影| 成人一区二区三区视频在线观看| 色综合色综合色综合 | 男人的天堂亚洲一区| 国产成人aaa| 91精品国产91久久久久久最新毛片 | 久久亚洲影视婷婷| 亚洲综合清纯丝袜自拍| 日本欧美在线观看| 国产精品一区不卡| 91精品国产手机| 亚洲综合一区二区| 国产成人午夜精品5599| 欧美精品三级日韩久久| 自拍偷自拍亚洲精品播放| 久久国产精品72免费观看| 99久久精品免费| 欧美成人aa大片| 天天av天天翘天天综合网| 成人av动漫网站| 2020国产精品自拍| 日本不卡高清视频| 欧美性感一类影片在线播放| 国产精品无圣光一区二区| 久久成人av少妇免费| 91亚洲精品一区二区乱码| 国产亚洲欧美色| 国产精品456露脸| 久久综合狠狠综合久久综合88 | 亚洲欧美在线视频观看| 国产在线不卡一区| 91精品国产免费久久综合| 亚洲国产精品久久一线不卡| 色综合天天做天天爱| 国产精品中文欧美| 88在线观看91蜜桃国自产| 亚洲老司机在线| 色综合天天综合在线视频| 国产精品视频一二| 成人综合婷婷国产精品久久蜜臀 | 狠狠久久亚洲欧美| 日韩欧美精品在线| 另类专区欧美蜜桃臀第一页| 欧美日韩国产一级片| 亚洲成av人片一区二区三区| 欧美性色黄大片| 一区二区三区四区av| 色综合婷婷久久| 亚洲香肠在线观看| 欧美日韩国产影片| 亚洲色图.com| 欧美性猛交xxxxxx富婆| 日韩中文欧美在线| 日韩欧美国产电影| 日韩电影在线免费观看| 精品少妇一区二区三区| 国产一区视频导航| 中文字幕中文字幕在线一区| 色综合视频一区二区三区高清| 亚洲精品欧美激情| 91精品免费在线观看| 久久99国产乱子伦精品免费| 国产三级三级三级精品8ⅰ区| 国产白丝网站精品污在线入口| 国产精品久久久久久久久久免费看| 成人综合在线观看| 亚洲色图制服诱惑| 欧美一区二区不卡视频| 美女爽到高潮91| 国产精品色哟哟| 欧美日本在线视频| 国产成人综合自拍| 亚洲裸体xxx| 欧美一卡2卡三卡4卡5免费| 国产中文字幕一区| 一区二区三区四区不卡视频| 欧美一级精品大片| 久久er精品视频| 国产日韩一级二级三级| 一本色道亚洲精品aⅴ| 日本午夜精品一区二区三区电影| 中文文精品字幕一区二区| 色哟哟一区二区在线观看| 亚洲国产另类精品专区| 久久久www成人免费无遮挡大片| 成人毛片老司机大片| 日日欢夜夜爽一区| 中文在线免费一区三区高中清不卡| 在线视频亚洲一区| 国产乱一区二区| 五月天视频一区| 成人免费在线视频| 精品日韩一区二区三区| 一本色道久久综合狠狠躁的推荐| 久久精品国产77777蜜臀| 亚洲欧美一区二区不卡| 久久久久久亚洲综合| aaa亚洲精品| 国产精品1024| 亚洲午夜羞羞片| 亚洲国产高清aⅴ视频| 欧美日本韩国一区| 91在线丨porny丨国产| 国产在线一区二区综合免费视频| 一区二区三区日韩欧美精品| 国产精品久久看| 国产三级精品三级在线专区| 精品日韩一区二区三区免费视频| 色久优优欧美色久优优| k8久久久一区二区三区| 国产精品1区2区3区| 久久精品国产99| 免费高清视频精品| 亚洲日本在线天堂| 久久婷婷久久一区二区三区| 制服丝袜在线91| 91精品久久久久久久99蜜桃| 欧美色电影在线| 欧美日韩精品免费观看视频| 欧美自拍丝袜亚洲| 91精品婷婷国产综合久久性色 | 在线亚洲免费视频| 欧美三级电影在线观看| 日韩区在线观看| 国产嫩草影院久久久久| 亚洲欧美国产三级| 丝袜亚洲精品中文字幕一区| 激情文学综合网| 91亚洲精华国产精华精华液| 欧美日韩国产大片| 26uuu另类欧美| 亚洲视频免费在线| 日韩国产精品久久久久久亚洲| 激情综合五月天| av亚洲精华国产精华| 欧美精品三级在线观看| 日本一区二区三区四区| 亚洲成人免费av| 国产a久久麻豆| 56国语精品自产拍在线观看| 久久免费电影网| 夜色激情一区二区| 国产一区二区三区免费播放 | 成人av在线观| 欧美一区日本一区韩国一区| 中文字幕 久热精品 视频在线| 亚洲国产精品一区二区久久| 国产高清不卡一区| 欧美日韩成人综合在线一区二区| 国产日韩精品一区二区浪潮av | 亚洲欧美日韩系列| 精品无人码麻豆乱码1区2区 | 2019国产精品| 亚洲国产精品久久不卡毛片| 国产激情91久久精品导航 | 午夜欧美大尺度福利影院在线看| 国产在线视频不卡二| 欧美日韩成人一区二区| 国产精品美女久久久久久久网站| 日本一区中文字幕| 日本道色综合久久| 日本一区二区免费在线| 免费欧美在线视频| 欧美午夜精品理论片a级按摩| 国产片一区二区三区| 久久国产精品99久久久久久老狼| 欧美在线短视频| 亚洲品质自拍视频网站| 成人av在线影院| 国产欧美日韩在线视频| 久久精品国产在热久久| 欧美日韩国产一二三| 亚洲精品日产精品乱码不卡| 成人国产精品免费观看动漫| 国产亚洲女人久久久久毛片| 男男gaygay亚洲| 91精品国产一区二区三区香蕉| 一区二区三区久久久| 91在线高清观看| 亚洲日本va午夜在线影院| 波多野结衣精品在线| 国产日韩欧美精品综合| 国产成人aaa| 国产精品污污网站在线观看 | 国产精品久久久久久久久果冻传媒|