1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-15 15:29:53 +00:00

Adds decoding of disp16 RETs.

This commit is contained in:
Thomas Harte 2021-01-03 19:39:28 -05:00
parent 782dc3d046
commit 29cf96c703

View File

@ -182,7 +182,9 @@ Instruction Decoder::decode(uint8_t *source, size_t length) {
MapRegData(0xbc, MOV, true, SP); MapRegData(0xbd, MOV, true, BP);
MapRegData(0xbe, MOV, true, SI); MapRegData(0xbf, MOV, true, DI);
MapPartial(0xc2, RETIntra, true, Disp, AwaitingOperands);
MapComplete(0xc3, RETIntra, None, None);
MapPartial(0xca, RETInter, true, Disp, AwaitingOperands);
MapComplete(0xcb, RETInter, None, None);
// Other prefix bytes.