News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Constants, addresses and their contents

Started by mercifier, March 31, 2007, 10:39:52 AM

Previous topic - Next topic

mercifier

Quote from: hutch-- on April 02, 2007, 09:21:22 PM
Do yourself a favour and DON'T...

OK, I'll follow that advice!

Quote from: Ratch on April 02, 2007, 09:23:48 PM
I include a EQU statement like @ EQU OFFSET in a  my code.

Sound reasonable, but as Hutch said, it's probably best to stick with common syntax, even if it's sometimes awkward.

Quote from: Ratch on April 02, 2007, 09:23:48 PM
By the way, how do you like the way the Motorola 68000 series can do a direct memory to memory copy instead of having to run the contents through a register or stack first?  Ratch

Well, most of the time you load data into the processor because you want to process it in some way, not just store a copy of it somewhere else. But indeed, there are times when a memory to memory move would be more traightforward. I guess that the old repeatet string operations were supposed to make up for that. However, I have learned that compact and versatile instructions does not always mean that the program will run faster.