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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? dabort.s

?? smdk2410 微軟提供的WINCE4.2 BSP
?? S
?? 第 1 頁 / 共 5 頁
字號:

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

; We will branch into the ARM LDM/STM code at the point where all
; error checks have been performed. Things we still need to do are:
;
; * 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

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
美国十次了思思久久精品导航| 欧美精品亚洲二区| 欧美日免费三级在线| 欧美一二三在线| 国产日韩影视精品| 亚洲精品视频在线看| 婷婷成人综合网| 国产成人亚洲精品狼色在线| 91视频com| 欧美sm极限捆绑bd| 亚洲私人黄色宅男| 欧美aaaaa成人免费观看视频| 成人午夜av在线| 欧美日本国产视频| 国产欧美一区二区精品忘忧草 | 丝袜美腿高跟呻吟高潮一区| 久久精品99久久久| 91日韩在线专区| 日韩欧美电影在线| 亚洲男帅同性gay1069| 男人的j进女人的j一区| 99久免费精品视频在线观看| 欧美性猛交xxxxxx富婆| 国产欧美一区二区精品性| 亚洲va中文字幕| 风间由美一区二区三区在线观看| 欧美在线免费观看视频| 久久久久久97三级| 亚洲高清不卡在线| 波多野结衣亚洲一区| 欧美高清精品3d| 中文字幕中文字幕一区| 蜜臀av一级做a爰片久久| 99精品一区二区三区| 日韩欧美一级片| 亚洲激情校园春色| 国产一区二区三区电影在线观看| 欧美午夜影院一区| 国产精品卡一卡二| 精品中文字幕一区二区小辣椒| 在线影视一区二区三区| 久久久久国产精品免费免费搜索| 亚洲成人在线网站| 99riav一区二区三区| 久久久久国产精品麻豆ai换脸 | 日韩欧美中文一区二区| 亚洲日本在线观看| 国产精品白丝jk黑袜喷水| 欧美日本视频在线| 亚洲欧美国产毛片在线| 国产麻豆精品在线| 欧美一区二区私人影院日本| 亚洲精品免费播放| 成人免费观看视频| 久久综合av免费| 美国欧美日韩国产在线播放| 欧美日韩精品免费| 亚洲欧美偷拍卡通变态| 国产不卡免费视频| 精品福利一二区| 免费三级欧美电影| 91.com视频| 五月天一区二区三区| 欧美在线色视频| 亚洲亚洲人成综合网络| 日本精品一区二区三区高清 | 色综合色综合色综合色综合色综合 | 一区二区三区在线看| 成人精品视频一区| 中文字幕va一区二区三区| 国产精品一级黄| 337p粉嫩大胆色噜噜噜噜亚洲| 免费亚洲电影在线| 日韩亚洲欧美综合| 六月丁香婷婷久久| 精品免费一区二区三区| 美美哒免费高清在线观看视频一区二区| 欧美三级在线视频| 午夜精品免费在线| 欧美精品日韩一本| 男女男精品视频| 日韩精品一区二区三区视频 | 久久嫩草精品久久久久| 国产最新精品免费| 中文在线资源观看网站视频免费不卡 | 欧美精品日韩综合在线| 青青草原综合久久大伊人精品| 91精品欧美久久久久久动漫| 免费在线观看视频一区| 精品国产乱码久久久久久图片| 精品一区二区成人精品| 久久久午夜精品| 成人三级伦理片| 亚洲精品乱码久久久久久黑人| 色婷婷综合久久久中文一区二区 | 在线观看免费成人| 亚洲午夜精品在线| 日韩一区二区三区免费观看| 国产综合久久久久久鬼色| 中文字幕乱码日本亚洲一区二区| 懂色中文一区二区在线播放| 亚洲美女屁股眼交3| 在线成人高清不卡| 狠狠色丁香婷婷综合| 国产精品理论片在线观看| 一本色道久久综合亚洲aⅴ蜜桃 | 欧美剧情片在线观看| 极品少妇一区二区| 国产精品久久久久影院色老大 | 三级亚洲高清视频| 2023国产一二三区日本精品2022| 成人午夜激情在线| 亚洲午夜一区二区| 精品国产免费视频| 91蜜桃视频在线| 奇米888四色在线精品| 欧美国产激情二区三区| 欧美亚洲高清一区| 精品亚洲欧美一区| 一区二区三区中文字幕| 精品美女一区二区| 色综合一个色综合亚洲| 免费看精品久久片| 亚洲私人黄色宅男| 精品不卡在线视频| 92精品国产成人观看免费| 美女视频一区二区| 亚洲色图欧美在线| 欧美精品一区二区精品网| 日本高清不卡在线观看| 精品影院一区二区久久久| 亚洲色图欧美激情| 久久久久久久久伊人| 欧美日韩高清在线| a亚洲天堂av| 久久超碰97中文字幕| 一区二区激情小说| 国产拍揄自揄精品视频麻豆| 欧美乱妇一区二区三区不卡视频| 丰满亚洲少妇av| 久久99精品久久久久久动态图| 亚洲精品乱码久久久久| 久久久久久亚洲综合影院红桃| 欧美日韩高清一区二区三区| 99精品国产91久久久久久| 免费成人性网站| 樱桃视频在线观看一区| 久久精品欧美日韩精品| 91麻豆精品国产91久久久| 91成人在线精品| 成a人片国产精品| 激情五月播播久久久精品| 偷拍与自拍一区| 亚洲女与黑人做爰| 国产精品二三区| ww亚洲ww在线观看国产| 欧美乱妇20p| 欧美影院一区二区三区| 95精品视频在线| av资源网一区| 国产成人综合自拍| 狠狠色丁香久久婷婷综| 男男视频亚洲欧美| 日韩专区欧美专区| 亚洲国产日产av| 一区二区三区产品免费精品久久75| 亚洲国产精品av| 国产精品视频第一区| 久久久www成人免费无遮挡大片| 欧美一区二区成人6969| 欧美图片一区二区三区| 在线观看一区二区视频| 91麻豆6部合集magnet| 97久久超碰国产精品| 不卡一卡二卡三乱码免费网站| 豆国产96在线|亚洲| 粉嫩一区二区三区在线看| 国产久卡久卡久卡久卡视频精品| 麻豆国产欧美一区二区三区| 日本伊人精品一区二区三区观看方式| 亚洲无人区一区| 亚洲成av人片一区二区梦乃| 午夜视频一区二区| 亚洲国产精品一区二区久久恐怖片| 亚洲精品美腿丝袜| 亚洲综合色自拍一区| 亚洲国产wwwccc36天堂| 五月天激情小说综合| 日韩电影免费在线| 免费人成网站在线观看欧美高清| 捆绑紧缚一区二区三区视频| 久久99九九99精品| 国产乱国产乱300精品| 成人av动漫网站| 色婷婷国产精品| 欧美三级在线看| 日韩久久免费av| 国产片一区二区| 亚洲精品视频一区二区| 五月婷婷色综合|