mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-24 12:30:17 +00:00
Acknowledge one further 16-bit assumption.
This commit is contained in:
parent
bf9743cb38
commit
cbd4f7965b
@ -199,7 +199,9 @@ typename Accessor<IntT, access>::type resolve(
|
|||||||
|
|
||||||
// If execution has reached here then a memory fetch is required.
|
// If execution has reached here then a memory fetch is required.
|
||||||
// Do it and exit.
|
// Do it and exit.
|
||||||
return context.memory.template access<IntT, access>(instruction.data_segment(), target_address);
|
//
|
||||||
|
// TODO: support 32-bit addresses.
|
||||||
|
return context.memory.template access<IntT, access>(instruction.data_segment(), uint16_t(target_address));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user