basm
Delphi read overflow flag
If I do this var a,b,c:cardinal; begin a:=$80000000; b:=$80000000; c:=a+b; end; c will开发者_运维问答 equal 0, since the addition overflowed. What\'s the best way to catch this overflowed boolean?[详细]
2023-03-14 10:37 分类:问答What CPU registers are to be restored at the end of an asm procedure in Delphi
When writing a Delphi procedure or function in assembly code, which registers must be saved and restored to the original value at the end of the procedure?[详细]
2023-01-12 17:34 分类:问答Delphi Assembly Function Returning a Long String
I am trying to learn inline assembly programming in Delphi, and to this end I have found this article highly helpful.[详细]
2023-01-08 06:09 分类:问答Why Delphi compiler does not inline assembly functions?
Sometimes I write very short assembly functions like function SeniorBit(Value: LongWord): Integer; asm OREAX,EAX[详细]
2022-12-22 06:11 分类:问答Translate a code using pointer, to Assembly in Pascal - Delphi
I have this code below, and I want to translate it to ASM, to use in Delphi too. var FunctionAddressList: Array of Integer;[详细]
2022-12-19 05:21 分类:问答