Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2006.06.11;
Скачать: CL | DM;

Вниз

$   Найти похожие ветки 

 
Сергей М. ©   (2006-05-19 14:25) [0]

Как реагирует Делфи-компилятор на сей спецсимвол в asm-конструкции ?

К примеру,

mov eax, offset $

Если это оговорено в справке - ткните меня носом, пожалуйста ..


 
Сергей М. ©   (2006-05-19 14:27) [1]

То что он, компилятор, тычет в д.с. в eax "ноль" - это очевидно ... Но - правило ?


 
default ©   (2006-05-19 16:01) [2]

"Numeric constants

Numeric constants must be integers, and their values must be between –2,147,483,648 and 4,294,967,295.
By default, numeric constants use decimal notation, but the built-in assembler also supports binary, octal, and hexadecimal. Binary notation is selected by writing a B after the number, octal notation by writing an O after the number, and hexadecimal notation by writing an H after the number or a $ before the number.
Numeric constants must start with one of the digits 0 through 9 or the $ character. When you write a hexadecimal constant using the H suffix, an extra zero is required in front of the number if the first significant digit is one of the digits A through F. For example, 0BAD4H and $BAD4 are hexadecimal constants, but BAD4H is an identifier because it starts with a letter."
тут не написано правда, что если после $ нет никаких цифр, то $=0, то эксперимент говорит об этом
можно писать, кстати, типа $+7=0+7=7, $+10B=0+2=2 и тд


 
Сергей М. ©   (2006-05-19 16:05) [3]


> тут не написано правда,


Вот именно ...



Страницы: 1 вся ветка

Текущий архив: 2006.06.11;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.052 c
3-1144416948
Petrovski
2006-04-07 17:35
2006.06.11
Как установить CommandTimeout в ADOStoredProc?


2-1148292355
deltav1
2006-05-22 14:05
2006.06.11
ModalResult


15-1147769851
Ytrnj
2006-05-16 12:57
2006.06.11
Оракл бесплатный только для разработчиков


15-1147749625
DelphiN!
2006-05-16 07:20
2006.06.11
Программный ввод пароля при подключении через RAdmin


2-1148624548
Russ
2006-05-26 10:22
2006.06.11
Из строки в Double