1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-06-25 18:30:07 +00:00

Acknowledge one further 16-bit assumption.

This commit is contained in:
Thomas Harte 2023-12-24 14:22:26 -05:00
parent bf9743cb38
commit cbd4f7965b

View File

@ -199,7 +199,9 @@ typename Accessor<IntT, access>::type resolve(
// If execution has reached here then a memory fetch is required.
// 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));
}
}