mirror of
https://github.com/nunuhara/xsystem4.git
synced 2026-09-30 02:48:14 +03:00
Implement SH_STRUCTREF_GT_IMM
This commit is contained in:
@@ -1748,6 +1748,10 @@ static enum opcode execute_instruction(enum opcode opcode)
|
||||
global_set(get_argument(0), local_get(get_argument(1)), true);
|
||||
break;
|
||||
}
|
||||
case SH_STRUCTREF_GT_IMM: {
|
||||
stack_push(member_get(get_argument(0)).i > get_argument(1) ? 1 : 0);
|
||||
break;
|
||||
}
|
||||
case SH_LOCAL_ASSIGN_STRUCTREF: {
|
||||
local_set(get_argument(0), member_get(get_argument(1)).i);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user