Re: A89: Starting out assembly, need help
[Prev][Next][Index][Thread]
Re: A89: Starting out assembly, need help
In a message dated 12/2/98 7:44:46 PM Pacific Standard Time,
nlmueller@students.wisc.edu writes:
>> No, it's just like a function but instead of branching the function is
>> pasted in place. Your program will be bigger but will run faster. Because
>> of the early pipelining on the m68k, you waste 4 instructions when you
>> branch. If you have a function that you use a lot and you don't care about
>> size, using macros can really speed up execution.
>>
>> --Nate
Do you mean four words? That's a lot for a simple branch instruction. In the
programmer's guide from Motorola, it says that some instructions may take up
to 11 words!
Daniel Imfeld
Follow-Ups: