Forum > Other
assembler
440bx:
--- Quote from: TRon on July 17, 2024, 05:53:45 am ---All true 440bx but I believe the original question was "in your Pascal code"
--- End quote ---
I believe the first paragraph in my post answered the original question. At this point, it is exceedingly rare that I would use assembly in Pascal code.
The rest of the post is to make the point that in spite of not using assembler in Pascal code, there are still very good reasons to invest the time and effort to learn it. I wanted to encourage him to learn it but, not for the purpose of using it in Pascal code.
TRon:
--- Quote from: 440bx on July 17, 2024, 06:08:52 am ---The rest of the post is to make the point that in spite of not using assembler in Pascal code, there are still very good reasons to invest the time and effort to learn it. I wanted to encourage him to learn it but, not for the purpose of using it in Pascal code.
--- End quote ---
I wholeheartedly share that thought.
For me it was the most exciting thing to learn and which is able to teach a lot about how processors work. Also the thought-process and structuring of code is completely different in comparison to higher level languages. Even more exciting and informative when you code for an older cpu/system such as mentioned by Curt.
marcov:
I have some assembler in my FPC/Delphi work code. (which is actually our product, not some internal system), and they are all SSE/AVX SIMD code to do operations on a whole image at once. (usually copyiing from a source image to a dest image)
Weiss:
thank you all. Learning assembler was on my mind for a while, for a pure sake of knowledge. But, if there is little actual use for it in my Pascal code, than I can foresee the lack of positive feedback from new things I learned.
MarkMLl:
--- Quote from: TRon on July 17, 2024, 06:18:26 am ---
--- Quote from: 440bx on July 17, 2024, 06:08:52 am ---The rest of the post is to make the point that in spite of not using assembler in Pascal code, there are still very good reasons to invest the time and effort to learn it. I wanted to encourage him to learn it but, not for the purpose of using it in Pascal code.
--- End quote ---
I wholeheartedly share that thought.
--- End quote ---
FWIW, I agree. The really important thing is to know enough "assembler" that you can tell the compiler to output an intermediate listing and see how it's laying things out: initialised- vs non-initialised variables and so on.
I should of course refer to that as meta-assembler etc., but the idea I'm trying to get across is how the directives etc. work even if the actual opcodes are obscure.
MarkMLl
Navigation
[0] Message Index
[#] Next page
[*] Previous page