mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-27 13:30:05 +00:00
Added a string global variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@796 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
137b62ccc8
commit
b40acbe8c2
@ -5,12 +5,14 @@
|
||||
|
||||
%AConst = constant int 123
|
||||
|
||||
%AString = constant [4 x ubyte] c"test"
|
||||
|
||||
implementation
|
||||
|
||||
int "foo"(int %blah)
|
||||
begin
|
||||
store int 5, int *%MyVar
|
||||
store int 12, { \2 *, int } * %MyIntList, ubyte 1
|
||||
ret int %blah
|
||||
store int 12, { \2 *, int } * %MyIntList, ubyte 1
|
||||
ret int %blah
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user