how to compare the string?
- From: "Eric Ahn" <spamtrap@xxxxxxxxxx>
- Date: 11 Dec 2005 21:57:27 -0800
following assember :
it may be gnu asm?
#define KERNEL_BASE 0xC0000000
#define KERNEL_CS 0x08
#define KERNEL_DS 0x10
#define GLOBAL_CODE_SEGMENT (KERNEL_CS)
#define GLOBAL_DATA_SEGMENT (KERNEL_DS)
movl 4*4(%esp),%eax\n\t \
cmpw $" STR(GLOBAL_CODE_SEGMENT) ",%ax\n\t \
je notswitched\n\t \
....
I want to convert nasm syntax.
How can i Change it?
.
- Follow-Ups:
- Re: how to compare the string?
- From: Tim Roberts
- Re: how to compare the string?
- Prev by Date: Re: Using SS for non-stack operations?
- Next by Date: Get the FAQs
- Previous by thread: How to access video memory from Protected Mode
- Next by thread: Re: how to compare the string?
- Index(es):