주로 쓰는 어셈블러
- 윈도우 : MASM
- 리눅스/유닉스 : GAS
- 둘다 가능 : NSAM
사용할 어셈블러 ide
https://dman95.github.io/SASM/english.html
SASM - Simple crossplatform IDE for NASM, MASM, GAS, FASM assembly languages
SASM SASM (SimpleASM) - simple Open Source crossplatform IDE for NASM, MASM, GAS, FASM assembly languages. SASM has syntax highlighting and debugger. The program works out of the box and is great for beginners to learn assembly language. SASM is translated
dman95.github.io

보다보니
맨위에
include io64.inc를 안해준게 문제더라
%include "io64.inc"
section .text
global main
main:
;write your code here
mov eax,10
PRINT_DEC 1, eax
xor eax, eax
ret

'컴퓨터과학 > os' 카테고리의 다른 글
어셈블리 - 3. 사칙연산 (0) | 2024.04.14 |
---|---|
어셈블리 - 2. 기초 개념들 (0) | 2024.04.14 |
OS30 - 7. 글자쓰기 (0) | 2024.04.08 |
OS30 - 6. c언어 사용, 화면 만들기 (0) | 2024.04.05 |
OS30 - 5. ipl 만들기, c언어 진입 (0) | 2024.04.05 |