flat assembler
Message board for the users of flat assembler.
![]() Goto page 1, 2 Next |
Author |
|
Ville 12 Mar 2025, 13:38
I remember having this conversation in the early years of Menuet and the answer is yes. I selected Fasm because it is written in assembly.
|
|||
![]() |
|
MR.Z 13 Mar 2025, 03:22
Thank you for your answer, but also want to ask, assembly language development of the assembly compiler and C language development of the assembly compiler which execution efficiency is higher?
|
|||
![]() |
|
bitRAKE 13 Mar 2025, 09:46
MR.Z wrote: also want to ask, assembly language development of the assembly compiler and C language development of the assembly compiler which execution efficiency is higher? |
|||
![]() |
|
MR.Z 13 Mar 2025, 12:15
bitRAKE wrote:
I agree. FASM is written in pure assembly and compiles itself. I wish there were as many libraries to use as python. This allows you to write code more efficiently while still maintaining extreme execution efficiency. I'm also curious how people remember the assembly instructions and how to use them. Can you teach me? |
|||
![]() |
|
bitRAKE 13 Mar 2025, 18:07
MR.Z wrote: I'm also curious how people remember the assembly instructions and how to use them. Can you teach me? |
|||
![]() |
|
AsmGuru62 13 Mar 2025, 23:08
The best way to learn Assembler is to code something simple at first.
Then more and more complicated. |
|||
![]() |
|
bzt 14 Mar 2025, 15:34
MR.Z wrote: Is that why fasm was chosen as the compiler for menuetos instead of nasm or yasm? MR.Z wrote: I'm also curious how people remember the assembly instructions and how to use them. Can you teach me? Another good source is Intel Software Developer Manual Volume 2. It is a bit too technical, but explains where the mnemonic abbreviations came from, which makes it easier to remember the mnemonics. For example: "ADC—Add With Carry", "BSF—Bit Scan Forward", "LEA—Load Effective Address", etc. This would make no sense if you use a software to translate this into Chinese, at least basic English understanding is required because mnemonics are English abbreviations. Cheers, bzt |
|||
![]() |
|
MR.Z 18 Mar 2025, 08:19
bitRAKE wrote:
Ok, thank you for your answer. |
|||
![]() |
|
MR.Z 18 Mar 2025, 08:37
bzt wrote:
Indeed, after translating into Chinese, it becomes difficult to read Chinese, because it is impossible to imagine the scene expressed by the text, and it is impossible to imagine the running track and state of the code. When learning the register, it is too difficult to move the data to the register and then want to see the data in the register but do not know how to show it. |
|||
![]() |
|
MR.Z 18 Mar 2025, 08:44
AsmGuru62 wrote: The best way to learn Assembler is to code something simple at first. Indeed, if you practice writing instructions over and over again, your hand should be able to remember them, even if your brain can't. PS: Chinese does not say "you", why the translation software will add "your", very strange. |
|||
![]() |
|
bitRAKE 18 Mar 2025, 08:56
MR.Z wrote: Ok, thank you for your answer. Look at these brief math problems, and you begin to understand. |
|||
![]() |
|
Mat-Quasar 18 Mar 2025, 09:03
MR.Z wrote: When learning the register, it is too difficult to move the data to the register and then want to see the data in the register but do not know how to show it. Use a debugger like x64dbg, then as your step over each line of code, you can observe the value in registers and flags like screenshot attached below:
|
||||||||||
![]() |
|
MR.Z 18 Mar 2025, 09:14
Mat-Quasar wrote:
Wow, this looks very professional, and I thought you could print out the contents of the register just like in C using a command like printf(). |
|||
![]() |
|
Mat-Quasar 18 Mar 2025, 09:29
MR.Z wrote: ...and I thought you could print out the contents of the register just like in C using a command like printf(). Yes, you can do that as well. |
|||
![]() |
|
MR.Z 18 Mar 2025, 09:33
Mat-Quasar wrote:
Sorry, I'm using a translation software that somehow likes to add the English word "you". I think it's easy to misunderstand. |
|||
![]() |
|
Mat-Quasar 18 Mar 2025, 09:48
MR.Z wrote:
No worries, it is common to refer to "you" in English. Same like you, at first, I thought it is impolite to emphasize "you" in English, while in Chinese it is not being emphasized. |
|||
![]() |
|
bitRAKE 18 Mar 2025, 14:07
MR.Z wrote: Chinese does not say "you", why the translation software will add "your", very strange. |
|||
![]() |
|
bzt 18 Mar 2025, 21:56
MR.Z wrote: Indeed, after translating into Chinese, it becomes difficult to read Chinese, because it is impossible to imagine the scene expressed by the text, and it is impossible to imagine the running track and state of the code. For example it might seem difficult to remember a mnemonic like "BSF" at first, but if you understand what "Bit Scan Forward" means in English, then it's damn easy. 例如,一开始可能很难记住像“BSF”这样的助记符,但如果你理解“Bit Scan Forward”在英语中的意思(位扫描向前),那么它就非常容易了。 What I was trying to say is, if you copy'n'paste this explanation above into a Chinese translator software as-is, that would translate everything, every single word. But then the explanation would become meaningless, as words inside quotes must be kept in English for the sentence to make sense. This is very common in programming documentations, some words just must not be translated. Like in "mov word [bx], ax", loses meaning if "word" in it gets translated, as "word" in Assembly has a special meaning, different to what generally "word" in English means. Anyway, I'd suggest for you to learn at least a bit of English. I'm not talking about Tolkien-level linguistics, just learn about 1000 words and phrases or so, a sub-set called programming jargon, that's a must imho. Translators will never get the jargon right, because they are created as general purpose tools. FYI, English isn't my native language either, so I advice this as a fellow foreigner, learn at least the jargon, worth it big time! |
|||
![]() |
|
MR.Z 19 Mar 2025, 11:57
Mat-Quasar wrote:
你确定你不是中国人?因为我觉得你的中文好像学得挺好。 |
|||
![]() |
|
Goto page 1, 2 Next < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.