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

Вниз

Встроенный ассемблер   Найти похожие ветки 

 
dimon1979   (2003-04-29 16:12) [0]

Почему при попытке изменения EBX или чтения того, на что он указывает генерируется исключительная ситуация?


 
Digitman ©   (2003-04-29 16:17) [1]

код приводи


 
MBo ©   (2003-04-29 16:18) [2]

btw, EBX стоит сохранять и восстанавливать при выходе


 
Mystic ©   (2003-04-29 16:23) [3]

Register use

In general, the rules of register use in an asm statement are the same as those of an external procedure or function. An asm statement must preserve the EDI, ESI, ESP, EBP, and EBX registers, but can freely modify the EAX, ECX, and EDX registers. On entry to an asm statement, BP points to the current stack frame, SP points to the top of the stack, SS contains the segment address of the stack segment, and DS contains the segment address of the data segment. Except for ESP and EBP, an asm statement can assume nothing about register contents on entry to the statement.



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

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

Наверх




Память: 0.47 MB
Время: 0.013 c
7-34627
SergeyVasiljev
2003-03-18 18:18
2003.05.12
Как послать байт через переходник USB-LPT, при обращении к LPT?


1-34397
Alexandr3
2003-04-30 11:26
2003.05.12
Несовпадение типов


7-34630
AlexRush
2003-03-10 17:09
2003.05.12
Сетевой адаптер - отправка данных в сеть


3-34338
DenisS
2003-04-21 18:26
2003.05.12
Строки длинной > 255


14-34556
Style
2003-04-23 10:16
2003.05.12
Конкурс на самый извратный Hello World :)