| Electronic Components Datasheet Search |
|
UM0144 Datasheet(PDF) 49 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0144 Datasheet(HTML) 49 Page - STMicroelectronics |
|
49 / 92 page ![]() ST7 Assembler Linker UM0144 49/92 A.3 BYTE A.4 BYTES Purpose: Define byte in object code. Format: BYTE <exp or “string”>,[,<exp or “string”>...] Description: This directive forces the byte(s) in its argument list into the object code at the current address. The argument may be composed of complex expressions, which may even include external labels. If the argument was an expression and had a value greater than 255 then the lower 8 bits of the expression are used and no errors are generated. String argument(s) must be surrounded by double quotes: theses are translated into ASCII and processed byte by byte. It's generally used for defining data tables. Synonymous with STRING and DC.B. Example: BYTE 1,2,3 ; generates 01,02,03 BYTE “HELLO” ; generates 48,45,4C,4C,4F BYTE “HELLO”,0 ; generates 48,45,4C,4C,4F,0 0 See Also: DC.B, STRING, WORD, LONG, DC.W, DC.L Purpose: Label type definition where type = byte. Format: BYTES Description: When a label is defined, 4 separate attributes are defined with it: scope (internally or externally defined), value (actual numerical value of the label), relativity (abso- lute or relative), and length, (BYTE, WORD and LONG). All of these attributes, except length, are defined explicitly before or at the defini- tion. You can force the label to be a certain length by giving a dot suffix—eg. 'label.b' forces it to be byte length. You may also define a default state for label length: labels are created to this length unless otherwise forced with a suffix. The default is set to WORD at the start of the assembly, but may be changed by BYTES, WORDS or LONGS to the appropriate length. Example: See Also: LONGS, WORDS BYTES lab1 EQU 5 ; byte length for lab1 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |