Convert Endian

Submission Date: 2024/9/10 15:34:06
Status: Accepted
Author: tt
Lines: 15

VSM

ipassa $subpeid $t imm ui"0xB33DEACB" $r0 # 12915737465693462879 imm ui"0x66DCE15F" $r1 # imm ui"0x0E95F52E" $r2 # 1051015667521905395 imm ui"0x5C0362F3" $r3 # imm ui"0x47D499C7" $r4 # 5175930953527485371 imm ui"0x6AF463BB" $r5 # imm ui"0x142CCB98" $r6 # 1453760636594831769 imm ui"0xBCAE4199" $r7 # iadd $t $t $t nop lpassa $lr0v2 $lm0v2 nop/2 lpassa $lmt0 $ln0/1000

Standard Output

ACCEPTED!! score=15 j=15 m=0 bytes=270

Standard Error

------------------- vsm -------------------- # ======= In(0): ((4_PE:1))@LM0 / ULong ======= d set $lm0p0 1 5FE1DC66CBEA3DB3 # values=[6909045637428952499] / ULong @[0] d set $lm0p1 1 F362035C2EF5950E # values=[17537583593393853710] / ULong @[1] d set $lm0p2 1 BB63F46AC799D447 # values=[13502904847239337031] / ULong @[2] d set $lm0p3 1 9941AEBC98CB2C14 # values=[11043299886329703444] / ULong @[3] ipassa $subpeid $t imm ui"0xB33DEACB" $r0 # 12915737465693462879 imm ui"0x66DCE15F" $r1 # imm ui"0x0E95F52E" $r2 # 1051015667521905395 imm ui"0x5C0362F3" $r3 # imm ui"0x47D499C7" $r4 # 5175930953527485371 imm ui"0x6AF463BB" $r5 # imm ui"0x142CCB98" $r6 # 1453760636594831769 imm ui"0xBCAE4199" $r7 # iadd $t $t $t nop lpassa $lr0v2 $lm0v2 nop/2 lpassa $lmt0 $ln0/1000 # ======= Out(0): ((4_PE:1))@LM1 / ULong ======= d getd $ln0n0c0b0m0p0 1 # expect=[12915737465693462879] / ULong @[0] d getd $ln0n0c0b0m0p1 1 # expect=[1051015667521905395] / ULong @[1] d getd $ln0n0c0b0m0p2 1 # expect=[5175930953527485371] / ULong @[2] d getd $ln0n0c0b0m0p3 1 # expect=[1453760636594831769] / ULong @[3] ------------------- asm -------------------- j 010000000000000000000010100000000000001010000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000011111111101010100001001111000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 j 010000000000000000000000010100000000000010000000000000000000000100000000000111101011001011011110000000000000000000000000000000000000000011111111110111110110011001000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000000000000000000000000000101011001011000000000000000000000000000000000000000000000000101011001011000000000000000000000000000000000000000000000000101011001011000000000000 j 010000000000000000000000010100000000100010000000000000000000000100000000000111000101011111001110000000000000000000000000000000000000000011111111101111110100110110000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000001000000000000000000000000000000101011111000000000000000000001000000000000000000000000000000101011111000000000000000000001000000000000000000000000000000101011111000000000000 j 010000000000000000000000010100000001000010000000000000000000000100000000000101010100101110011111000000000000000000000000000000000000000011111111100111110001110100000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000010000000000000000000000000000010100101110000000000000000000010000000000000000000000000000010100101110000000000000000000010000000000000000000000000000010100101110000000000000 j 010000000000000000000000010100000001100010000000000000000000000100000000000000001011110011110110000000000000000000000000000000000000000011111111101111110011100000000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000011000000000000000000000000000001011110011000000000000000000011000000000000000000000000000001011110011000000000000000000011000000000000000000000000000001011110011000000000000 j 010000000000000000000000010100000010000010000000000000000000000100000000000101100111000111001001000000000000000000000000000000000000000011111111101111110000111110000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000100000000000000000000000000000100111000111000000000000000000100000000000000000000000000000100111000111000000000000000000100000000000000000000000000000100111000111000000000000 j 010000000000000000000000010100000010100010000000000000000000000100000000000101001110111011000110000000000000000000000000000000000000000011111111101111110101010111000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000101000000000000000000000000000001110111011000000000000000000101000000000000000000000000000001110111011000000000000000000101000000000000000000000000000001110111011000000000000 j 010000000000000000000000010100000011000010000000000000000000000100000000000011101110011000001100000000000000000000000000000000000000000011111111100111110010100001000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000110000000000000000000000000000101110011000000000000000000000110000000000000000000000000000101110011000000000000000000000110000000000000000000000000000101110011000000000000000 j 010000000000000000000000010100000011100010000000000000000000000100000000000011000110011001100100000000000000000000000000000000000000000011111111110111110111100101000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000111000000000000000000000000000000110011001000000000000000000111000000000000000000000000000000110011001000000000000000000111000000000000000000000000000000110011001000000000000 j 010000000000000000000010100000000000001010000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000011111111101000000000010010000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 j 000000000000000000000000000000000000001010000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000011111111111000000001000111000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 j 010000000000000000000000000000000000001010000000000000000000000100000000000101000000000000000001000000000000000000000000000000000000000011111111100010100000000111000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000000010000000000000000000000000000010000000000000000000000000000100000000000000000000000000000100000000000000000000000000000110000000000000000000000000000110000000000000 j 000000000000000000000000000000000000001010000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000011111111111000000001000111000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 j 000000000000000000000000000000000000001010000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000011111111111000000001000111000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 j 011100000000100000000000000000000000001010000000000000000000000100000000000000000000000000100001101000000000000000010000000000000000000011111111100010100000011111000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ------------------- emu -------------------- DEBUG-LM1(n0c0b0m0p0,0):(-7.27246e-62) (0xb33deacb66dce15f) #d getd $ln0n0c0b0m0p0 1 # expect=[12915737465693462879] / ULong @[0] DEBUG-LM1(n0c0b0m0p1,0):(2.10752e-238) (0x0e95f52e5c0362f3) #d getd $ln0n0c0b0m0p1 1 # expect=[1051015667521905395] / ULong @[1] DEBUG-LM1(n0c0b0m0p2,0):(1.09532e+38) (0x47d499c76af463bb) #d getd $ln0n0c0b0m0p2 1 # expect=[5175930953527485371] / ULong @[2] DEBUG-LM1(n0c0b0m0p3,0):(1.7107e-211) (0x142ccb98bcae4199) #d getd $ln0n0c0b0m0p3 1 # expect=[1453760636594831769] / ULong @[3] ------------------- inputs -------------------- [ 6909045637428952499, 17537583593393853710, 13502904847239337031, 11043299886329703444] ------------------- expect -------------------- [12915737465693462879, 1051015667521905395, 5175930953527485371, 1453760636594831769] ------------------- actual -------------------- [12915737465693462879, 1051015667521905395, 5175930953527485371, 1453760636594831769] ------------------- check result --------------------