Le 03/01/2018 à 00:49, Richard Henderson a écrit :
> On 01/02/2018 10:42 AM, Laurent Vivier wrote:
>> Le 02/01/2018 à 17:50, Richard Henderson a écrit :
>>> On 01/01/2018 05:10 PM, Laurent Vivier wrote:
>>>> +    mode = (insn >> 3) & 7;
>>>> +
>>>> +    if (mode & 4) {
>>>
>>> Looks like mode should equal 4 as well.
>>>
>>
>> Yes, you're right. I will replace the line by:
>>
>> +    if (mode == 4) {
> 
> Well, not quite.  Surely,
> 
>   if (mode & 4) {
>     if (mode != 4) {
>       illegal opcode

I've split the instruction in two parts to manage the illegal opcode in
the opcode table.

Thanks,
Laurent

Reply via email to