Sha256: 4bea61684139067d4a94be44472aa28e48729a2b1e9758ce6aba0710a2328165
Contents?: true
Size: 624 Bytes
Versions: 1
Compression:
Stored size: 624 Bytes
Contents
# Encoding: UTF-8 [{content: "# a basic example in mips-assembler: hello world.\n# tested with xspim-7.0\n \n\t.text\n\t.globl main\n\t\nmain:\n\tli \\$v0, 4 # call = 4 = print_string\n\tla \\$a0, hello_string # set \\$a0 to point to the string\n\tsyscall # print it.\n\tli \\$v0, 10 # call = 10 = exit\n\tsyscall # done.\n\t\n\t\n\t.data\n\t\nhello_string: .asciiz \"Hello World!\"\n$1", keyEquivalent: "", name: "Hello World (mips)", scope: "source.mips", tabTrigger: "hello", uuid: "E670F342-6BE2-11D9-96CC-0011242E4184"}]
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ver-2010.08 | config/snippets/MIPS Assembler.rb |