2023-01-02 11:06:24 +00:00
|
|
|
section[text]
|
2022-12-06 14:02:03 +00:00
|
|
|
|
2023-01-02 11:56:53 +00:00
|
|
|
0xa2b0391a480300b:
|
|
|
|
push float 12
|
|
|
|
|
|
|
|
extern builtin 0x80b0eba54530cdc3
|
|
|
|
|
|
|
|
extern builtin 0xcd262c6e6c32473d
|
|
|
|
|
2022-12-06 14:02:03 +00:00
|
|
|
0xc8c7a99bb88e156b:
|
2023-01-02 11:56:53 +00:00
|
|
|
call 0xa2b0391a480300b
|
|
|
|
call 0x80b0eba54530cdc3
|
|
|
|
call 0x967b65e0e8f1394
|
2022-12-06 21:48:52 +00:00
|
|
|
store 0x0
|
2023-01-02 11:56:53 +00:00
|
|
|
push string "The Factorial of "
|
|
|
|
call 0xa2b0391a480300b
|
|
|
|
push string " is: "
|
2022-12-06 21:48:52 +00:00
|
|
|
load 0x0
|
2023-01-02 11:56:53 +00:00
|
|
|
cat
|
|
|
|
cat
|
|
|
|
cat
|
|
|
|
call 0xe2e27e92bf406d33
|
|
|
|
push int 0x0
|
|
|
|
store 0x1
|
|
|
|
load 0x1
|
2023-01-02 11:06:24 +00:00
|
|
|
push int 0x9
|
|
|
|
cmp gt int
|
2023-01-02 11:56:53 +00:00
|
|
|
jump-unless 0x1b
|
2023-01-02 11:06:24 +00:00
|
|
|
push string ""
|
2023-01-02 11:56:53 +00:00
|
|
|
load 0x1
|
2023-01-02 11:06:24 +00:00
|
|
|
cat
|
2023-01-02 11:56:53 +00:00
|
|
|
call 0xe2e27e92bf406d33
|
|
|
|
load 0x1
|
2023-01-02 11:06:24 +00:00
|
|
|
push int 0x1
|
|
|
|
add int
|
2023-01-02 11:56:53 +00:00
|
|
|
store 0x1
|
|
|
|
jump 0xe
|
2023-01-02 11:06:24 +00:00
|
|
|
push int 0x0
|
|
|
|
ret
|
|
|
|
|
2023-01-02 11:56:53 +00:00
|
|
|
extern builtin 0xe2e27e92bf406d33
|
2023-01-02 11:06:24 +00:00
|
|
|
|
2023-01-02 11:56:53 +00:00
|
|
|
extern builtin 0x8207427514e5a880
|
2023-01-02 11:06:24 +00:00
|
|
|
|
|
|
|
0x967b65e0e8f1394:
|
2022-12-06 21:48:52 +00:00
|
|
|
load 0x0
|
2023-01-02 11:06:24 +00:00
|
|
|
push int 0x1
|
|
|
|
cmp not-eq int
|
|
|
|
jump-unless 0x6
|
|
|
|
push int 0x1
|
2022-12-06 14:02:03 +00:00
|
|
|
ret
|
2023-01-02 11:06:24 +00:00
|
|
|
load 0x0
|
|
|
|
push int 0x1
|
|
|
|
sub int
|
|
|
|
call 0x967b65e0e8f1394
|
|
|
|
load 0x0
|
|
|
|
mul int
|
|
|
|
ret
|
|
|
|
|
2023-01-02 11:56:53 +00:00
|
|
|
extern builtin 0x3e6a3810b5f0c581
|
2023-01-02 11:06:24 +00:00
|
|
|
|
2023-01-02 11:56:53 +00:00
|
|
|
extern builtin 0x443bc4709cf7af32
|
2023-01-02 11:06:24 +00:00
|
|
|
|
2023-01-02 11:56:53 +00:00
|
|
|
extern builtin 0x23a9f04bf6903826
|