Open ktemkin opened 5 days ago
Implement signed and unsigned 8-bit arithmetic on top of the primitives provided by the CairoVM. It needs to provide the following operations, and must behave as expected for performing the same operations in a standard hardware CPU model:
+
-
*
/
%
**
abs
shr
shl
divmod
Description
Implement signed and unsigned 8-bit arithmetic on top of the primitives provided by the CairoVM. It needs to provide the following operations, and must behave as expected for performing the same operations in a standard hardware CPU model:
+
-
*
/
%
**
(exponentiation)abs
shr
shl
divmod