12 lines
233 B
Text
12 lines
233 B
Text
|
|
'' 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
|