Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
b96d6133
Commit
b96d6133
authored
Jul 07, 2012
by
André Hentschel
Committed by
Alexandre Julliard
Jul 09, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: Add swap operator to ARM disassembler.
parent
498614dd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
be_arm.c
programs/winedbg/be_arm.c
+11
-0
No files found.
programs/winedbg/be_arm.c
View file @
b96d6133
...
...
@@ -156,6 +156,16 @@ static UINT arm_disasm_longmul(UINT inst, ADDRESS64 *addr)
return
0
;
}
static
UINT
arm_disasm_swp
(
UINT
inst
,
ADDRESS64
*
addr
)
{
short
byte
=
(
inst
>>
22
)
&
0x01
;
dbg_printf
(
"
\n\t
swp%s%s
\t
%s, %s, [%s]"
,
get_cond
(
inst
),
byte
?
"b"
:
""
,
tbl_regs
[
get_nibble
(
inst
,
3
)],
tbl_regs
[
get_nibble
(
inst
,
0
)],
tbl_regs
[
get_nibble
(
inst
,
4
)]);
return
0
;
}
static
UINT
arm_disasm_branchreg
(
UINT
inst
,
ADDRESS64
*
addr
)
{
dbg_printf
(
"
\n\t
b%s
\t
%s"
,
get_cond
(
inst
),
tbl_regs
[
get_nibble
(
inst
,
0
)]);
...
...
@@ -727,6 +737,7 @@ static const struct inst_arm tbl_arm[] = {
{
0x0e000000
,
0x0a000000
,
arm_disasm_branch
},
{
0x0fc000f0
,
0x00000090
,
arm_disasm_mul
},
{
0x0f8000f0
,
0x00800090
,
arm_disasm_longmul
},
{
0x0fb00ff0
,
0x01000090
,
arm_disasm_swp
},
{
0x0e000090
,
0x00000090
,
arm_disasm_halfwordtrans
},
{
0x0ffffff0
,
0x012fff00
,
arm_disasm_branchreg
},
{
0x0ffffff0
,
0x012fff10
,
arm_disasm_branchxchg
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment