You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/aeb_fate_generate_ops.erl
+6-4Lines changed: 6 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,7 @@ check_numbering(N, [T|Rest]) ->
32
32
OpCode=element(2, T),
33
33
caseOpCodeof
34
34
N -> check_numbering(N+1, Rest);
35
+
16#f0 -> check_numbering(16#f0+1, Rest);
35
36
16#fa -> check_numbering(16#fa+1, Rest);
36
37
_whenOpCode<N -> {duplicate_opcode, OpCode};
37
38
_whenOpCode>N -> {missing_opcode, N}
@@ -246,11 +247,12 @@ ops_defs() ->
246
247
, { 'BYTES_TO_FIXED_SIZE', 16#b3, false, true, true, ?GAS(10), [a, a, a], bytes_to_fixed_size, {bytes, integer}, variant, "Arg0 := bytes_to_fixed_size(Arg1, Arg2), returns Some(Arg1') if byte_size(Arg1) == Arg2, None otherwise. The type of Arg1' is bytes(Arg2) but the value is unchanged"}
247
248
, { 'INT_TO_BYTES', 16#b4, false, true, true, ?GAS(10), [a, a, a], int_to_bytes, {integer, integer}, bytes, "Arg0 := turn integer Arg1 into a byte array (big endian) length Arg2 (truncating if not fit)."}
0 commit comments