1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
// license:BSD-3-Clause
// copyright-holders:David Haywood
/*********************************\
ARCompact disassembler
\*********************************/
#include "emu.h"
#include "arcompactdasm_internal.h"
int arcompact_disassembler::handle::dasm32_ASL_multiple(std::ostream &stream, offs_t pc, uint32_t op, const data_buffer &opcodes)
{
return handle04_helper_dasm(stream, pc, op, opcodes, "ASL", 0,0);
}
int arcompact_disassembler::handle::dasm32_LSR_multiple(std::ostream &stream, offs_t pc, uint32_t op, const data_buffer &opcodes)
{
return handle04_helper_dasm(stream, pc, op, opcodes, "LSR", 0,0);
}
int arcompact_disassembler::handle::dasm32_ASR_multiple(std::ostream &stream, offs_t pc, uint32_t op, const data_buffer &opcodes)
{
return handle04_helper_dasm(stream, pc, op, opcodes, "ASR", 0,0);
}
int arcompact_disassembler::handle::dasm32_ROR_multiple(std::ostream &stream, offs_t pc, uint32_t op, const data_buffer &opcodes)
{
return handle04_helper_dasm(stream, pc, op, opcodes, "ROR", 0,0);
}
int arcompact_disassembler::handle::dasm32_MUL64(std::ostream &stream, offs_t pc, uint32_t op, const data_buffer &opcodes)
{
return handle04_helper_dasm(stream, pc, op, opcodes, "MUL64", 2,0);
}
int arcompact_disassembler::handle::dasm32_MULU64(std::ostream &stream, offs_t pc, uint32_t op, const data_buffer &opcodes)
{
return handle04_helper_dasm(stream, pc, op, opcodes, "MULU64", 2,0);
}
int arcompact_disassembler::handle::dasm32_ADDS(std::ostream &stream, offs_t pc, uint32_t op, const data_buffer &opcodes)
{
return handle04_helper_dasm(stream, pc, op, opcodes, "ADDS", 0,0);
}
int arcompact_disassembler::handle::dasm32_SUBS(std::ostream &stream, offs_t pc, uint32_t op, const data_buffer &opcodes)
{
return handle04_helper_dasm(stream, pc, op, opcodes, "SUBS", 0,0);
}
int arcompact_disassembler::handle::dasm32_DIVAW(std::ostream &stream, offs_t pc, uint32_t op, const data_buffer &opcodes)
{
return handle04_helper_dasm(stream, pc, op, opcodes, "DIVAW", 0,0);
}
int arcompact_disassembler::handle::dasm32_ASLS(std::ostream &stream, offs_t pc, uint32_t op, const data_buffer &opcodes)
{
return handle04_helper_dasm(stream, pc, op, opcodes, "ASLS", 0,0);
}
int arcompact_disassembler::handle::dasm32_ASRS(std::ostream &stream, offs_t pc, uint32_t op, const data_buffer &opcodes)
{
return handle04_helper_dasm(stream, pc, op, opcodes, "ASRS", 0,0);
}
int arcompact_disassembler::handle::dasm32_ADDSDW(std::ostream &stream, offs_t pc, uint32_t op, const data_buffer &opcodes)
{
return handle04_helper_dasm(stream, pc, op, opcodes, "ADDSDW", 0,0);
}
int arcompact_disassembler::handle::dasm32_SUBSDW(std::ostream &stream, offs_t pc, uint32_t op, const data_buffer &opcodes)
{
return handle04_helper_dasm(stream, pc, op, opcodes, "SUBSDW", 0,0);
}
|