Author Topic: Progress ?  (Read 9615 times)

HSE

  • Member
  • *****
  • Posts: 2502
  • AMD 7-32 / i3 10-64
Re: Progress ?
« Reply #15 on: July 15, 2016, 12:21:40 AM »
JJ:
    You are wrigth! EQU is nicer!

rrr:
   You are wright! ASSUME is better!

The only diference I found now is that EQU hide what pointer you are using. In this particular case you have only one instance of one simple structure in a simple code a one time, no matter. But whith more complex programs and structures perhaps is more error prone to use EQU.   

If the pointer is a register, always use assume. Belive me, at some point you forget what register you are using, all of them are the same!   :biggrin:

Just now I am trying to solve a little problem with an array of structures that have others arrays inside. The calculations of first instance work perfect, but the second destroy the first  :icon13:    There is some pointer somewhere...    ::)
Equations in Assembly: SmplMath

jj2007

  • Member
  • *****
  • Posts: 13957
  • Assembly is fun ;-)
    • MasmBasic
Re: Progress ?
« Reply #16 on: July 15, 2016, 03:06:54 AM »
I am aware of that problem, it hit me occasionally. One needs a bit of discipline with esi edi ebx ;-)