• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Quick basic assembly programming question

SnoopCat

Senior member
can i use register "ebp" for incrementing and for multiplying?



will this hold true?

mul ebp ; al*ebp = ax (it will take the value in ebp, mutliply with al and set the product to ax


mov ebp, 0
inc ebp ;will ebp now equal 1?



im asking this because i noticed some of the other registers act differently than eax, ebx, ecx, edx, esi, edi
 
You mean, there are other registers other than AX BX CX DX???

mov ebp, 0
inc ebp ;will ebp now equal 1?

YEs it will.....

The other question. I think it'll put it in AH. That might be true. It's either AH or AL. Why don't you try it??

 
Back
Top