artur-zawlocki
10 years ago
7 changed files with 64 additions and 1 deletions
@ -0,0 +1 @@ |
|||
60646107b760271460005560006001f2 |
@ -0,0 +1,12 @@ |
|||
;; Should return (1975 + 39) `mod` 100 = 14 = 0x0e |
|||
(asm |
|||
100 |
|||
1975 |
|||
39 |
|||
ADDMOD |
|||
0 |
|||
MSTORE8 |
|||
0 |
|||
1 |
|||
RETURN |
|||
) |
@ -0,0 +1 @@ |
|||
6064601b60251560005560006001f2 |
@ -0,0 +1,12 @@ |
|||
;; Should return (27 * 37) `mod` 100 = 99 = 0x63 |
|||
(asm |
|||
100 |
|||
27 |
|||
37 |
|||
MULMOD |
|||
0 |
|||
MSTORE8 |
|||
0 |
|||
1 |
|||
RETURN |
|||
) |
Loading…
Reference in new issue