Hello i'am a noob in asm programming and i'm new here.

I'm using RadAsm (WinXP)

When i try to link i got an error message : "Error opening file Test.res"

And my code is :





global _start

section .bss

nb resb 1

section .data

n dw 4
t dw 5,4,200,4,625,4
t_len equ $ - t - 1

section .text

_start
mov byte [nb], 0
mov ecx, t_len
mov ax, [n]

.do
cmp ax, [t+2*ecx]
jnz .boucle
inc byte [nb]

.boucle
loop .do

mov eax, 1
mov ebx, 0
;int 0x80 <= Not sure for this under wondows XP



-> C:\Nasm\Bin\NASMW -fobj "test.asm"


It must work under Linux (with ld command) but i don't understand why it doesn't link under winXP. Please can anyone help me ?
Posted on 2005-01-19 12:04:02 by Chronoklazm
check wich assembler are you using in radasm, and the Compile Resource option in the MAKE menu ...
Posted on 2005-01-19 12:24:12 by GR33d