ableos/hblang/tests/son_tests_fb_driver.txt

65 lines
1.2 KiB
Plaintext
Raw Normal View History

2024-09-06 09:11:57 -05:00
main:
2024-09-08 05:00:07 -05:00
ADDI64 r254, r254, -96d
ST r31, r254, 0a, 96h
2024-09-06 09:11:57 -05:00
JAL r31, r0, :check_platform
2024-09-06 15:00:23 -05:00
LI64 r32, 0d
CP r33, r32
LI64 r34, 30d
CP r35, r34
LI64 r36, 100d
CP r37, r36
CP r38, r33
CP r39, r37
4: ADDI64 r40, r35, 1d
JGTS r33, r40, :0
2024-09-08 05:00:07 -05:00
CP r2, r33
CP r3, r33
CP r4, r37
2024-09-06 09:11:57 -05:00
JAL r31, r0, :set_pixel
2024-09-08 05:00:07 -05:00
CP r41, r37
ADDI64 r33, r33, 1d
CP r42, r33
2024-09-06 09:11:57 -05:00
JMP :1
2024-09-08 05:00:07 -05:00
0: CP r2, r33
CP r3, r38
CP r4, r39
JAL r31, r0, :set_pixel
CP r41, r39
CP r33, r32
ADDI64 r42, r38, 1d
1: JNE r42, r41, :2
2024-09-06 09:11:57 -05:00
JMP :3
2024-09-08 05:00:07 -05:00
2: CP r35, r34
CP r37, r36
CP r38, r42
CP r39, r41
2024-09-06 09:11:57 -05:00
JMP :4
2024-09-08 05:00:07 -05:00
3: LD r31, r254, 0a, 96h
ADDI64 r254, r254, 96d
2024-09-06 09:11:57 -05:00
JALA r0, r31, 0a
set_pixel:
ADDI64 r254, r254, -8d
ST r31, r254, 0a, 8h
LI64 r1, 0d
LD r31, r254, 0a, 8h
ADDI64 r254, r254, 8d
JALA r0, r31, 0a
check_platform:
ADDI64 r254, r254, -8d
ST r31, r254, 0a, 8h
JAL r31, r0, :x86_fb_ptr
LD r31, r254, 0a, 8h
ADDI64 r254, r254, 8d
JALA r0, r31, 0a
x86_fb_ptr:
ADDI64 r254, r254, -8d
ST r31, r254, 0a, 8h
LI64 r1, 100d
LD r31, r254, 0a, 8h
ADDI64 r254, r254, 8d
JALA r0, r31, 0a
2024-09-08 05:00:07 -05:00
timed out
code size: 437
2024-09-06 09:11:57 -05:00
ret: 0
status: Ok(())