I am studying some code written in Borlands tasm, here's a small snippet.
join_: @cld ; Auto-increment index reg.s
@LDS rsi, [srcBCD] ; Load
@LES rdi, [dstBCD] ; pointers
mov rbx, [BCDsz] ; Get byte size of BCD
dec rbx ; Handy constant
my questions are
1. why @cld, @lds and @les instead of just plain cld, lds and les
2. what about the registers, rsi, rdi, rbx, are they esi, edi, ebx?
thanks in advance.
I didn't know there was a 64 bit version of TASM available. Are you sure its TASM code and not something else ?
no this very old code, btw after scouring through the doc files found out that "@" is used to call a macro, (I think), please disregard this post. :red
<edit> sorry for a stupid post, my appologies, after reading the include files i found out that @cld and the rest are macros, and the registers are equates
so it could be compiled as 16 or 32 bit, that is "rbx" is either bx or ebx"
</edit>
More like 64b.