Created
August 1, 2013 01:12
-
-
Save phire/6127686 to your computer and use it in GitHub Desktop.
llvm based assembler WIP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
phire@osiris:~/projects/llvm/build$ ./bin/llvm-mc ch3.s -arch=videocore | |
.text | |
.file "ch3.ll" | |
.globl main | |
.align 4 | |
.type main,@function | |
main: | |
ch3.s:8:6: error: invalid operand for instruction | |
mov r0, 3 | |
^ | |
ch3.s:9:11: error: unexpected token in argument list | |
st r0, -4(sp) | |
^ | |
ch3.s:10:2: error: invalid instruction | |
blr | |
^ | |
.tmp0: | |
.size main, .tmp0-main |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment