News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Echo value of offset

Started by Rockphorr, June 09, 2024, 04:51:25 AM

Previous topic - Next topic

TimoVJL

Quote from: Rockphorr on June 12, 2024, 07:42:19 PM
Quote from: NoCforMe on June 12, 2024, 06:10:10 AM
Quote from: Rockphorr on June 11, 2024, 03:43:01 AMProblems come when using on bounds...
Bounds? as in array bound checking?
Just curious.


As bounds of assembler abilities. A default solution is the immediate value, but i need to get that from the expression of offsets.
masm isn't high level language, just with macro language additions.
May the source be with you

Rockphorr

Quote from: TimoVJL on June 12, 2024, 11:32:00 PM
Quote from: Rockphorr on June 12, 2024, 07:42:19 PM
Quote from: NoCforMe on June 12, 2024, 06:10:10 AM
Quote from: Rockphorr on June 11, 2024, 03:43:01 AMProblems come when using on bounds...
Bounds? as in array bound checking?
Just curious.


As bounds of assembler abilities. A default solution is the immediate value, but i need to get that from the expression of offsets.
masm isn't high level language, just with macro language additions.


Yes it is. By the assembly we write code as we need, but we also need to solve addresses and expressions automatic.

NoCforMe

Quote from: Rockphorr on July 15, 2024, 12:02:44 AMYes it is [a high-level language]. By the assembly we write code as we need, but we also need to solve addresses and expressions automatic.

It's a mid-level language then: certainly higher than punching in raw opcodes in binary, but nowhere near as high level as, say, C++, where all kinds of calculations (addresses, array indices, structure selectors) are done for you behind the scenes.
Assembly language programming should be fun. That's why I do it.

Rockphorr

Any way, we enjoy by the lea instruction  :biggrin:  :biggrin:  :biggrin:  :biggrin:

daydreamer

Quote from: NoCforMe on July 15, 2024, 04:27:48 AMIt's a mid-level language then: certainly higher than punching in raw opcodes in binary, but nowhere near as high level as, say, C++, where all kinds of calculations (addresses, array indices, structure selectors) are done for you behind the scenes.
For asm programmers:
More freedom howto code ,but responsible for code adresses right or its buggy code instead of compiler automatically codes byte,word,dword/real4,qword/real8 arrays right
Ofcourse i could use masm way to code struct arrays if i want or take care of itself with manually code it
my none asm creations
https://masm32.com/board/index.php?topic=6937.msg74303#msg74303
I am an Invoker
"An Invoker is a mage who specializes in the manipulation of raw and elemental energies."
Like SIMD coding