Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
11
Task/Machine-code/FreeBASIC/machine-code.basic
Normal file
11
Task/Machine-code/FreeBASIC/machine-code.basic
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
'' This is an example for the x86 architecture.
|
||||
Function test (Byval a As Long, Byval b As Long) As Long
|
||||
Asm
|
||||
mov eax, [a]
|
||||
Add eax, [b]
|
||||
mov [Function], eax
|
||||
End Asm
|
||||
End Function
|
||||
|
||||
Print test(12, 7)
|
||||
Sleep
|
||||
Loading…
Add table
Add a link
Reference in a new issue