flat assembler
Message board for the users of flat assembler.
Index
> Compiler Internals > [request] add opt form x instructions that operate in memory |
Author |
|
revolution 13 Apr 2006, 01:52
You can make this syntax for yourself with equates.
Code: mulb equ mul byte mulw equ mul word ... |
|||
13 Apr 2006, 01:52 |
|
RedGhost 13 Apr 2006, 07:50
because 'movb' is not an instruction but 'mov' is and 'byte' specifies the byte encoding i don't think this is a good feature of an assembler, preprocessor can solve your needs
_________________ redghost.ca |
|||
13 Apr 2006, 07:50 |
|
MAD_DËMON 20 Apr 2006, 21:28
RedGhost wrote: because 'movb' is not an instruction but 'mov' is and 'byte' specifies the byte encoding i don't think this is a good feature of an assembler, preprocessor can solve your needs "byte" doesn't specifies the byte imm encoding, instead it specifies the Instruction Opcode (C6), and dword & word specifies the same thing, Opcode Prefix operand size (66) and Instr Opcode (C7) _________________ Tah rah rah boom de ay, I blew some guy away, his brains turned into spray, I was paid well that day |
|||
20 Apr 2006, 21:28 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.