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 DIRECTIVESData Type


‰8051 microcontroller has only one data type - 8 bits


¾The size of each register is also 8 bits ¾It is the job of the programmer to break down data larger than 8 bits (00 to FFH, or 0 to 255 in decimal) ¾The data types can be positive or negative

Free download pdf