IPB

> Built-in Assembler Numeric Constants
Форум
Загрузка...
 
Час быка
Час быка
Карта Интернета
Internet Map
Яндекс.Метрика

Language:
Русский
English

  Built-in Assembler Numeric Constants


 Built-in assembler numeric constants must be integers between
 -2,147,483,648 and 4,294,967,295, and they must start with one of the
 digits 0 through 9 or a $ character.

 By default, numeric constants use decimal (base 10) notation, but the
 built-in assembler supports binary (base 2), octal (base 8), and
 hexadecimal (base 16) notations as well.

   To select
   this notation    Write a...

   Binary           letter B after the number
   Octal            letter O after the number
   Hexadecimal      letter H after the number, or a $ before the number

 Pascal expressions allow only decimal notation and hexadecimal notation
 (using a $ prefix); they do not support the B, O, and H suffixes.

 When you write a hexadecimal constant using the H suffix, and the first
 significant digit is one of the hexadecimal digits A through F, an extra
 zero (0) in front of the number is required.

Examples

 0BAD4H Hexadecimal constant
 $BAD4 Hexadecimal constant
 BAD4H Identifier (it starts with a letter B, not a digit)

 
 К началу страницы 
 

Код для вставки: :: :: :: ГОСТ ::
Поделиться: //
 


-
Хостинг предоставлен компанией "Веб Сервис Центр" при поддержке компании "ДокЛаб"