flat assembler
Message board for the users of flat assembler.
Index
> Windows > Assembly language for beginner Goto page Previous 1, 2, 3 |
Author |
|
revolution 29 Aug 2020, 14:11
Your string needs to be terminated with a zero byte:
Code: my_string db 'test',0 ; zero terminated |
|||
29 Aug 2020, 14:11 |
|
Stefx 29 Aug 2020, 17:52
Ohh, thanks.
Do you know maybe how about second point? How to tell "print this sting few lines lower?" |
|||
29 Aug 2020, 17:52 |
|
Roman 29 Aug 2020, 18:23
Maybe:
down1 db 13,10,0 down5 db 5 dup(13,10) db 0 push down5 Call [printf] |
|||
29 Aug 2020, 18:23 |
|
Stefx 29 Aug 2020, 18:55
Thanks Roman it's works.
btw. what's mean this numbers? 10, 13, 0. I saw if I put another number like 11, 12, 0. On my string I got some extra symbol or any kind of weird signs. |
|||
29 Aug 2020, 18:55 |
|
revolution 29 Aug 2020, 22:31
See here for the meaning of the control characters.
https://ascii.cl/control-characters.htm 13 = CR, 10 = LF, etc. |
|||
29 Aug 2020, 22:31 |
|
Stefx 28 Apr 2021, 09:09
is there any book about assembler worth recommending?
|
|||
28 Apr 2021, 09:09 |
|
Ali.Z 12 May 2021, 13:27
IMO, books need assembly but assembly dont need books
I dont think there are very good content in modern books (and old books will teach you 16-bit assembly and in real-mode), but I suggest you read manuals. - fasm manual (obviously to know more about fasm features) - your OS api (maybe win32.hlp file) - target CPU manual (assuming you have intel CPU, then you gonna need intel's software developer manual) (just search intel sdm) _________________ Asm For Wise Humans |
|||
12 May 2021, 13:27 |
|
torial 13 May 2021, 19:28
Stefx wrote: is there any book about assembler worth recommending? This book seemed decent (covered FASM programming and even had a section on making .Net integrations): https://www.packtpub.com/product/mastering-assembly-programming/9781787287488 And I used it to complement the video series on FASM: https://www.udemy.com/share/101Wo2BUMSdVpVRHo=/ |
|||
13 May 2021, 19:28 |
|
Goto page Previous 1, 2, 3 < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.