mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-19 23:29:05 +00:00
Switch to const auto
.
This commit is contained in:
parent
bbf925a27e
commit
c1cc4f96df
@ -350,9 +350,7 @@ std::vector<typename InstructionSet::x86::Decoder<model>::InstructionT> decode(c
|
|||||||
}
|
}
|
||||||
|
|
||||||
- (void)testJMP {
|
- (void)testJMP {
|
||||||
decltype(decode<Model::i80386>({0x00})) instructions;
|
const auto instructions = decode<Model::i80386>({
|
||||||
|
|
||||||
instructions = decode<Model::i80386>({
|
|
||||||
// JMP +0x00efcdab
|
// JMP +0x00efcdab
|
||||||
0xe9, 0xab, 0xcd, 0xef, 0x00,
|
0xe9, 0xab, 0xcd, 0xef, 0x00,
|
||||||
// JMP 0xc389:0x67452301
|
// JMP 0xc389:0x67452301
|
||||||
|
Loading…
x
Reference in New Issue
Block a user