mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-21 04:26:28 +02:00
pkg(nasm-2.15.5): Add nasm 2.15.5
This commit is contained in:
parent
a5ba0f5ee6
commit
05dc79d9f8
7 changed files with 90 additions and 0 deletions
16
packages/nasm/2.15.5/test.nasm.asm
vendored
Normal file
16
packages/nasm/2.15.5/test.nasm.asm
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
SECTION .DATA
|
||||
good: db 'OK',10
|
||||
txtlen: equ $-good
|
||||
|
||||
SECTION .TEXT
|
||||
GLOBAL _start
|
||||
|
||||
_start:
|
||||
mov eax,4
|
||||
mov ebx,1
|
||||
mov ecx,good
|
||||
mov edx,txtlen
|
||||
int 80h
|
||||
mov eax,1
|
||||
mov ebx,0
|
||||
int 80h
|
Loading…
Add table
Add a link
Reference in a new issue