MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / kernel_as_emits_object

Function kernel_as_emits_object

tests/integration/kernel_integration.rs:951–985  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

949 addi sp, sp, -16
950 li t0, 5
951 slli t1, t0, 2 ; 20
952 srli t2, t1, 1 ; 10
953 sub t3, t1, t2 ; 10
954 add a0, t2, t3 ; 20
955 sd a0, 0(sp)
956 ld a1, 0(sp) ; 20
957 sw a1, 8(sp)
958 lw a2, 8(sp) ; 20
959 add a0, a1, a2 ; 40
960 li t0, 2
961 add a0, a0, t0 ; 42
962 andi a0, a0, 63 ; 42
963 li t1, 42
964 bge a0, t1, ok1
965 j fail
966ok1:
967 blt a0, t1, fail
968 li t2, 100
969 bltu a0, t2, ok2
970 j fail
971ok2:
972 bgeu a0, t2, fail
973 slt t3, a0, t2 ; 42 < 100 -> 1
974 beq t3, zero, fail
975 li t0, 6
976 li t1, 2
977 sll t2, t0, t1 ; 24
978 li t3, 24
979 bne t2, t3, fail
980 srl t2, t2, t1 ; 6
981 bne t2, t0, fail
982 li t0, -8
983 srai t4, t0, 1 ; -4
984 li t3, -4
985 bne t4, t3, fail
986 li t0, 12
987 ori t2, t0, 3 ; 15
988 li t3, 15

Callers

nothing calls this directly

Calls 1

run_tool_sessionFunction · 0.85

Tested by

no test coverage detected