![]() |
| ||
| Macros anyone? the assignment is: Create a macro named mWriteNumber that writes a signed integer to the console output. Use the WriteInt procedure in the Irvine32 library. The argument passed to the macro can be a byte, word, or doubleword. Use conditional oeprators so that the macro adapts to the different sizes of the argument. Write the main code to test the macro, passing arguments of different sizes. i'm not asking for codes but just ideas on how to approach it. any suggestions? thanks. |
| ||
| Re: Macros anyone? hi, check the macros that come with the masm package: /macros/macros.asm, there is one named 'issize' that does something similar... |
| ||
| Re: Macros anyone? i could not find the 'issize' macro.. |
| ||
| Re: Macros anyone? strange, don't u have the latest package of masm32 ? anyway: ;--------------------------------------------------- |
| All times are GMT -4. The time now is 8:49 pm. |
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC