Skip to main content
Select Source:

macro

macro Short for macroinstruction. An instruction in a programming language (almost always but not necessarily assembly language) that is replaced by a sequence of instructions prior to assembly or compiling. A macroassembler permits the user to define macros, specifying the macroinstruction form, its arguments, and a replacement text (otherwise called the body of the macro), and then allows macroinstructions to be interspersed among the assembly code. On encountering a macro the assembler replaces it by the macro body, substituting the parameters provided in the places marked in the macro body. The macro thus provides a mechanism for inserting a particular body of text at various places in a program (and is thus the same thing as an open subroutine, though this nomenclature is obsolete).

A macroprocessor provides similar facilities, though not in combination with an assembler. It accepts macro definitions and then reads arbitrary text in which macro calls (i.e. instances of a macro name) can occur. Text is copied to the output until a macro name is encountered: when this happens the arguments (parameters) are found and the macro call is replaced by the macro body in the output stream, with appropriate substitution of the parameters.

Cite this article
Pick a style below, and copy the text for your bibliography.

  • MLA
  • Chicago
  • APA

"macro." A Dictionary of Computing. . Encyclopedia.com. 22 Aug. 2017 <http://www.encyclopedia.com>.

"macro." A Dictionary of Computing. . Encyclopedia.com. (August 22, 2017). http://www.encyclopedia.com/computing/dictionaries-thesauruses-pictures-and-press-releases/macro

"macro." A Dictionary of Computing. . Retrieved August 22, 2017 from Encyclopedia.com: http://www.encyclopedia.com/computing/dictionaries-thesauruses-pictures-and-press-releases/macro

macro

mac·ro / ˈmakrō/ • n. (pl. -ros) 1. (also macro instruction) Comput. a single instruction that expands automatically into a set of instructions to perform a particular task. 2. Photog. short for macro lens. • adj. 1. large-scale; overall: the analysis of social events at the macro level. Often contrasted with micro. 2. Photog. relating to or used in macrophotography.

Cite this article
Pick a style below, and copy the text for your bibliography.

  • MLA
  • Chicago
  • APA

"macro." The Oxford Pocket Dictionary of Current English. . Encyclopedia.com. 22 Aug. 2017 <http://www.encyclopedia.com>.

"macro." The Oxford Pocket Dictionary of Current English. . Encyclopedia.com. (August 22, 2017). http://www.encyclopedia.com/humanities/dictionaries-thesauruses-pictures-and-press-releases/macro-0

"macro." The Oxford Pocket Dictionary of Current English. . Retrieved August 22, 2017 from Encyclopedia.com: http://www.encyclopedia.com/humanities/dictionaries-thesauruses-pictures-and-press-releases/macro-0

macro

macroarrow, barrow, farrow, harrow, Jarrow, marrow, narrow, sparrow, taro, tarot, Varro, yarrow •gabbro • Avogadro • Afro • aggro •macro • cilantro • Castro •wheelbarrow •Faro, Kilimanjaro, Pissarro, Pizarro, Tupamaro •Pedro • allegro • hedgerow • velcro •escrow •metro, retro •electro • Jethro •bolero, caballero, dinero, Faeroe, pharaoh, ranchero, sombrero, torero •scarecrow • Ebro •Montenegro, Negro •repro • in vitro • Pyrrho • synchro •windrow • impro • intro • bistro •Babygro • McEnroe •biro, Cairo, giro, gyro, tyro •fibro • micro • maestro •borrow, Corot, morrow, sorrow, tomorrow •cockcrow • cointreau •Moro, Sapporo, Thoreau •Mindoro • Yamoussoukro •Woodrow •burro, burrow, furrow •upthrow •De Niro, hero, Nero, Pierrot, Pinero, Rio de Janeiro, sub-zero, zero •bureau, chiaroscuro, Douro, enduro, euro, Ishiguro, Oruro, Truro •Politburo • guacharo • Diderot •vigoro • Prospero • Cicero • in utero •Devereux • Jivaro • overthrow

Cite this article
Pick a style below, and copy the text for your bibliography.

  • MLA
  • Chicago
  • APA

"macro." Oxford Dictionary of Rhymes. . Encyclopedia.com. 22 Aug. 2017 <http://www.encyclopedia.com>.

"macro." Oxford Dictionary of Rhymes. . Encyclopedia.com. (August 22, 2017). http://www.encyclopedia.com/humanities/dictionaries-thesauruses-pictures-and-press-releases/macro

"macro." Oxford Dictionary of Rhymes. . Retrieved August 22, 2017 from Encyclopedia.com: http://www.encyclopedia.com/humanities/dictionaries-thesauruses-pictures-and-press-releases/macro