Commit 347d905c authored by Kevin Bracey's avatar Kevin Bracey
Browse files

Test for post-indexed LDRH etc with W bit set didn't work.

Service call table added.
parent 1f85cac0
SUBT > <wini>arm.Debugger.Version
GBLS Version
Version SETS "1.53"
Version SETS "1.54"
GBLS CurrentDate
CurrentDate SETS "11 Nov 1996"
CurrentDate SETS "27 Mar 1998"
END
......@@ -169,6 +169,8 @@
; 1.53 KJB 11-Nov-96 SWI called checkreg for no apparent reason.
; Stopped Addr26 screwing up Thumb disassembly.
; Set Addr26 to True.
; 1.54 KJB 27-Mar-98 Test for post-indexed LDRH etc with W set didn't work.
; Service call table added.
; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
GET Hdr:ListOpts
......@@ -495,12 +497,19 @@ Debug_Init ENTRY
; In no registers trashable
ALIGN
Debug_ServiceTable
DCD 0
DCD Debug_ServiceBody - Module_BaseAddr
DCD Service_Reset
DCD 0
DCD Debug_ServiceTable - Module_BaseAddr
Debug_Service ROUT
MOV r0, r0
TEQ r1, #Service_Reset
MOVNE pc, lr
Debug_ServiceBody
ENTRY "r0, r1"
LDR wp, [r12]
MOV r0, #ExceptionDumpArea ; Set exception dump area
......@@ -1399,7 +1408,7 @@ LdrStrH ; Load and Store Halfword or Load Signed Byte
AND r5, r4, #&000000F0
TEQS r5, #&000000B0
BNE Undefined
20 AND r5, r5, #1:SHL:24 :OR: 1:SHL:21
20 AND r5, r4, #1:SHL:24 :OR: 1:SHL:21
TEQS r5, #1:SHL:21 ; Check for post-indexed with W set (illegal)
BEQ Undefined
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment