Вниз
Скачать: 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 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.01 c
14-34592
Soft
2003-04-21 18:05
2003.05.12
Партия программистов


3-34347
Chery
2003-04-22 13:44
2003.05.12
Догрузка данных из архива в текущую БД


1-34446
Viper_
2003-04-29 04:37
2003.05.12
Image


14-34593
Соловьев
2003-04-24 09:37
2003.05.12
МЮ-Реал


14-34578
Ixion
2003-04-23 00:34
2003.05.12
Посоветуйте ЖК монитор




   Наверх