Hello, world!

Submission Date: 2024/11/23 5:01:38
Status: Accepted
Author: sosuupoyo
Lines: 11

VSM

imm i"0x48656C6C" $r0/1000 imm i"0x6F2C2077" $r1/1000 imm i"0x6F726C64" $r2/1000 imm i"0x21000000" $r3/1000 dmwrite $lr[0,0,0,2] $lx2 dmread $lx0 $ls0v l1bmm@0 $ls[256,256,256,0] $lb36 nop/2 l2bm@0 $lb16 $lc32 mvp/n64 $lc64@0.0 $d0@0

Standard Output

ACCEPTED!! score=11 j=10 m=1 bytes=233

Standard Error

------------------- vsm -------------------- imm i"0x48656C6C" $r0/1000 imm i"0x6F2C2077" $r1/1000 imm i"0x6F726C64" $r2/1000 imm i"0x21000000" $r3/1000 dmwrite $lr[0,0,0,2] $lx2 dmread $lx0 $ls0v l1bmm@0 $ls[256,256,256,0] $lb36 nop/2 l2bm@0 $lb16 $lc32 mvp/n64 $lc64@0.0 $d0@0 # ======= Out(0): ((2:1, 8_W:1))@DRAM / String ======= d getd $d0n0 1 # expect="Hello, w" / String @[0],[1],[2],[3],[4],[5],[6],[7] d getd $d1n0 1 # expect="orld!" / String @[8],[9],[10],[11],[12] ------------------- asm -------------------- j 011100001000000000000000010100000000000010000000000000000000000100000000000001110001101100010110000000000000000000000000000000000000000011111111101111110001000011000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000000000000000000000000000110001101100000000000000000000000000000000000000000000000000110001101100000000000000000000000000000000000000000000000000110001101100000000000000 j 011100001000000000000000010100000000100010000000000000000000000100000000000011000001110111000010000000000000000000000000000000000000000011111111101111110101111001000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000001000000000000000000000000000000001110111000000000000000000001000000000000000000000000000000001110111000000000000000000001000000000000000000000000000000001110111000000000000 j 011100001000000000000000010100000001000010000000000000000000000100000000000100110001100100100110000000000000000000000000000000000000000011111111101111110101111011000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000010000000000000000000000000000110001100100000000000000000000010000000000000000000000000000110001100100000000000000000000010000000000000000000000000000110001100100000000000000 j 011100001000000000000000010100000001100010000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000011111111100111110100001000000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000011000000000000000000000000000000000000000000000000000000000011000000000000000000000000000000000000000000000000000000000011000000000000000000000000000000000000000000000000000 j 010000000000000000000000000000000000001010000000000000000000000100000000000000000000000000000000000000000000000000000000010010000001000011100011111000000001000111000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000 j 010000000000000000000000000000000000001010000000001110000000000100000000000000000000000000000000000000000000000000000000000000000001000011111111111000000001000111000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000110000000000000000000000000000000000 j 010000000000000000000000000000000000001010000000000000000000000101100000000000000000000000000000000000000000000000000000000000000000000011111111111000000001000111000001101000000010010000000000000001000000000000000000000000000000001100000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 j 000000000000000000000000000000000000001010000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000011111111111000000001000111000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 j 000000000000000000000000000000000000001010000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000011111111111000000001000111000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 j 010000000000000000000000000000000000001010000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000011111111111000000001000111000000000000000000000000000000000111000000000010101000000000100000000011000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 m 1110000000000000000000000000000000000000000000000000000000000000001000000000010000 ------------------- emu -------------------- DEBUG-DRAM(n0,0):(5.83204e+40) (0x48656c6c6f2c2077) #d getd $d0n0 1 # expect="Hello, w" / String @[0],[1],[2],[3],[4],[5],[6],[7] DEBUG-DRAM(n0,1):(6.98307e+228) (0x6f726c6421000000) #d getd $d1n0 1 # expect="orld!" / String @[8],[9],[10],[11],[12] ------------------- inputs -------------------- ------------------- expect -------------------- Hello, world! ------------------- actual -------------------- Hello, world! ------------------- check result --------------------