Вниз
Скачать: 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.012 c
4-34645
wadimwlad
2003-03-12 07:39
2003.05.12
WinApi


1-34426
UserMicc
2003-04-28 15:05
2003.05.12
Помогите, при создании компонента...


6-34541
Марс Якупов
2003-03-14 17:57
2003.05.12
Простой код для отправки e-mail c прикрепленным файлом


1-34402
anton2v
2003-04-30 11:50
2003.05.12
Размер программы на диске


14-34615
4ewer
2003-04-24 05:15
2003.05.12
One or more lines were too long and have been truncated




   Наверх