- My first step toward becoming a compiler expert:
section .bss
num dq 10
section .data
%define user 'Ben'
%define band 'Coldplay'
%define counting_stars 10
stars times 10 db '*'
; `stars times $-counting_stars db '*'` := cannot use non-constant argument supplied to TIMES.
%define song 'Some '
len equ $-song
section .text
global _start
_start:
mov edx,counting_stars
mov ecx,stars
mov ebx,1
mov eax,4
int 0x80
mov eax,1
int 0x80