The 8051 Microcontroller and Embedded

(lily) #1
Department of Computer Scien

ce and Information Engineering

National Cheng Kung University, TAIWAN
HANEL

8051 DATA TYPES AND DIRECTIVES Assembler directives(cont’)


‰EQU


(equate)


¾This is used to define a constant without occupying a memory location¾The


EQU


directive does not set aside


storage for a data item but associates a constant value with a data label ƒWhen the label appears in the program, its constant value will be substituted for the label

Free download pdf