2024-11-11 14:55:18 -06:00
|
|
|
main:
|
2024-11-17 03:06:10 -06:00
|
|
|
LI64 r16, 4621819117588971520d
|
|
|
|
LI64 r17, 1d
|
|
|
|
LI64 r18, 3d
|
|
|
|
CP r14, r0
|
|
|
|
CP r15, r14
|
|
|
|
3: JNE r15, r18, :0
|
|
|
|
CP r1, r17
|
|
|
|
JMP :1
|
|
|
|
0: ITF64 r19, r15
|
|
|
|
CP r13, r14
|
|
|
|
5: JNE r13, r18, :2
|
|
|
|
ADD64 r15, r15, r17
|
|
|
|
JMP :3
|
|
|
|
2: ITF64 r20, r13
|
|
|
|
FMUL64 r20, r20, r19
|
|
|
|
FCMPLT64 r20, r20, r16
|
|
|
|
NOT r20, r20
|
|
|
|
ANDI r20, r20, 255d
|
|
|
|
JNE r20, r0, :4
|
|
|
|
ADD64 r13, r13, r17
|
|
|
|
JMP :5
|
|
|
|
4: CP r1, r14
|
|
|
|
1: JALA r0, r31, 0a
|
|
|
|
code size: 130
|
|
|
|
ret: 1
|
2024-11-11 14:55:18 -06:00
|
|
|
status: Ok(())
|