Pointers in NASM?
From: Josh Yeager (spamtrap_at_crayne.org)
Date: 03/29/05
- Next message: IIJIMA Hiromitsu : "Re: Pointers in NASM?"
- Previous message: Nathan Moore : "Re: Why doesn't this NASM program work? It loops endlessly"
- Next in thread: IIJIMA Hiromitsu : "Re: Pointers in NASM?"
- Reply: IIJIMA Hiromitsu : "Re: Pointers in NASM?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 28 Mar 2005 23:21:33 +0000 (UTC)
I'm trying to do a project for my assemble class, using NASM. When I
try to run a program with this line: "or BYTE PTR [eax], [upperMask]",
it gives me the error "comma or end of line expected".
Basically, eax contains a pointer to a character in a string, and I
want to convert it to uppercase by OR'ing it with 0x40.
But, my professor's lecture notes are horrible, and I can't find
anything on the web about what I'm trying to do.
How can I make it do what I want?
Thanks,
Josh
- Next message: IIJIMA Hiromitsu : "Re: Pointers in NASM?"
- Previous message: Nathan Moore : "Re: Why doesn't this NASM program work? It loops endlessly"
- Next in thread: IIJIMA Hiromitsu : "Re: Pointers in NASM?"
- Reply: IIJIMA Hiromitsu : "Re: Pointers in NASM?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|