You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
240 B
26 lines
240 B
(asm
|
|
1 ;; 0
|
|
2 ;; 2
|
|
1 ;; 4
|
|
10 ;; 6
|
|
JUMPI ;; 8
|
|
STOP ;; 9
|
|
|
|
;; stack = 2,1
|
|
SWAP1 ;; 10
|
|
SWAP1 ;; 11
|
|
1 ;; 12
|
|
18 ;; 14
|
|
JUMPI ;; 16
|
|
STOP ;; 17
|
|
|
|
;; stack = 2,1
|
|
ADD ;; 18
|
|
0
|
|
MSTORE
|
|
1
|
|
31
|
|
RETURN ;; returns 03
|
|
)
|
|
|
|
|
|
|