2
edits
m (Fix calle byte count) |
m (lea: fixed HTML style `&` to `&`) |
||
Line 504: | Line 504: | ||
::set if the accumulator is to be used as additional index | ::set if the accumulator is to be used as additional index | ||
:::Because it is so hard to explain, I have made a transcription of it here: | :::Because it is so hard to explain, I have made a transcription of it here: | ||
<syntaxhighlight lang=" | <syntaxhighlight lang="c"> | ||
short *vars[4]; | short *vars[4]; | ||
Line 511: | Line 511: | ||
int lea(int vt, int vi) | int lea(int vt, int vi) | ||
{ | { | ||
return &((vars[(vt >> 1) & | return &((vars[(vt >> 1) & 3])[vt & 0x10 ? vi+acc : vi]); | ||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> |
edits