flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
bitdog2u 14 Jun 2025, 18:42
H2D.com with FASM source code. use16 286
Syntax= H2D FFFFFFFFh Enter a Hexdecimal number. Displays a Decimal number." Dwords, using 16 bit 286 code. By Bitdog include "GMHD.inc" ; Get Memory Hex Dword, (ascii chars into Dword DX:AX) include "WDD.inc" ; Write Decimal Dword in DX:AX MS DOS couldn't print a TRUE 32 bit decimal number using 16 bit code, but here it is, in a CALL able PROC form you might find useful.
Last edited by bitdog2u on 19 Jun 2025, 18:13; edited 5 times in total |
|||||||||||
![]() |
|
bitdog2u 15 Jun 2025, 04:44
SeproMan from Belgium says: I would like to add a word about proper attribution.
You have your program display the text "By Bitdog & Peter Cordes". I reviewed your files and must conclude that nothing originates from the actual person Peter Cordes, that is active on the Stackoverflow forum. It is a different Stackoverflow user from whom that you are borrowing code snippets (included their comments). I happen to know (and respect a lot) Peter Cordes, and I think he would be displeased seeing his name mentioned in assembly code that explicitly disregards his many marvelous teachings: e.g. how you validate the hexadecimal digits is so not Peter Cordes. I hope you do realize the importance of proper attribution, and I also hope you keep up the good work of posting interesting assembly programs. I for one like to read those a lot... Bitdog says: https://stackoverflow.com/questions/67796211/how-to-display-a-32-bit-div-result-stored-in-dxax This is one of the DX:AX print code examples by Peter Cordes on stackoverflow.com In the future it is advised that you do some research before you lay into others. (So I don't have to;) Please. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.