On 09/08/2016 03:32 PM, Michael Rolnik wrote:
+ decode_f decode[32] = {
There's no reason to use an array here, and worse, a non-static non-const array. Just use a switch here
+ return decode[curr_major](ctx, curr_opcode);
r~
On 09/08/2016 03:32 PM, Michael Rolnik wrote:
+ decode_f decode[32] = {
There's no reason to use an array here, and worse, a non-static non-const array. Just use a switch here
+ return decode[curr_major](ctx, curr_opcode);
r~