[an error occurred while processing this directive]
|
In this example, a constant must be supplied as the argument, a more advanced version of the macro might use conditional compilation to access many more I/O devices using different codes but with a standard interface, and allow a variable as an argument. The macro assumes that portadd is already defined, as is bintab.
din MACRO bit_no ;macro to test a bit of the port dset MACRO bit_no ;macro to set a bit of the port
E-mail:
info@telesys.ru
BIT.W #(1<
BIS.W #(1<
Ответы