macro instruction


Also found in: Dictionary, Thesaurus, Medical, Financial, Wikipedia.

macro instruction

An instruction that defines a macro. In assembly language, MACRO and ENDM are examples that define the beginning and end of a macro. In C, the #DEFINE statement is used.
Copyright © 1981-2019 by The Computer Language Company Inc. All Rights reserved. THIS DEFINITION IS FOR PERSONAL USE ONLY. All other reproduction is strictly prohibited without permission from the publisher.
References in periodicals archive ?
Method int dist() 0 Macro#204 1 Macro#204 2 imul 3 Macro#205 4 Macro#205 5 imul 6 iadd 7 invokestatic #6 <Method Z.intSqrt(I) I> 10 ireturn Method Point () 0 Macro#206 Method Rectangle () 0 Macro#206 Macro table: Macro instruction 204: 0 aload_0 1 getfield #4 <Field Point.x I> Macro instruction 205: 0 aload_0 1 getfield #7 <Field Point.y I> Macro instruction 206: 0 aload_0 1 invokespecial #5 <Method Java.lang.Object.<init>()V> 4 return 4.
The recognition by the hardware of a trap or interrupt causes entry to a macro instruction sequence, INTRAP, which is noninterruptible mode performs a context switch to supervisor mode, stores the PC, PSW, and SSW on the supervisor stack, and transfers control to the trap or interrupt handler through the vector table.
Integrated PLC and stepper motion control systems simplify applications using user-defined macro instructions embedded in PLC programming software, configured with drag and drop commands to perform control of multiple axis, typically up to 12.
Macro instructions are available to further simplify the integration of motion control into the IDEC FC6A PLC.