Difference between revisions of "No-op"

From Computer History Wiki
Jump to: navigation, search
(Created page with "A '''no-op''' (or 'NOP') is an instruction which does nothing ('no operation'). In the early days, programmers would include NOP's to allow patching loaded programs du...")
(No difference)

Revision as of 16:15, 2 March 2018

A no-op (or 'NOP') is an instruction which does nothing ('no operation'). In the early days, programmers would include NOP's to allow patching loaded programs during debugging. Modern machines may use them for timing or other purposes (e.g. in machines with delayed branches, if no suitable instruction can be found to go behind the delayed branch).