flat assembler
Message board for the users of flat assembler.
Index
> Main > Microsoft's opensouce GW-BASIC (and MS-DOS 2.0) |
Author |
|
redsock 22 May 2020, 03:22
How hard would it be to get fasmg to actually compile this?
https://github.com/microsoft/GW-BASIC/blob/master/GWMAIN.ASM Announcement: https://devblogs.microsoft.com/commandline/microsoft-open-sources-gw-basic/ Quote: BILL GATES WROTE A LOT OF STUFF. |
|||
22 May 2020, 03:22 |
|
Tomasz Grysztar 22 May 2020, 04:54
redsock wrote: How hard would it be to get fasmg to actually compile this? While that other thread established how such things might be possible (and probably even more so with help of CALM), I am probably the only one that could be willing to attempt such crazy thing. And I feel like I have done too many of them already. |
|||
22 May 2020, 04:54 |
|
bitRAKE 22 May 2020, 10:15
So impatient, they could've waited for the 40 year anniversary.
The dialect looks close to MASM, but it's ASM86 - which is the assembler made by Intel. https://software.intel.com/en-us/forums/intel-c-compiler/topic/672355 https://github.com/ogdenpm/intel80tools/tree/master/msdos A wonderful collection of very early (1973) assembly language manuals from Intel: http://www.nj7p.info/Manuals/Intel_Manuals1.php _________________ ¯\(°_o)/¯ “languages are not safe - uses can be” Bjarne Stroustrup |
|||
22 May 2020, 10:15 |
|
guignol 08 Jun 2020, 10:07
HA-HA!
haha, microsoft, that is |
|||
08 Jun 2020, 10:07 |
|
guignol 08 Jun 2020, 10:14
but what really would have been nice, is if fasm was commented completely
|
|||
08 Jun 2020, 10:14 |
|
macomics 18 May 2023, 16:59
16- and 32-bit
Code: ... push end_if test al, 1 ; 0xA8 0x01 jnz $ + 3 ; 0x75 0x03 ret ; 0xC3 ; then begin // if al and 1 ... end_if: ... ; or ... push end_if test al, 1 ; 0xA8 0x01 jnz $ + 5 ; 0x75 0x05 ret 0; 0xC2 0x00 0x00 ; then begin // if al and 1 ... end_if: ... 64-bit Code: ... lea r8, [end_if] push r8 test al, 1 ; 0xA8 0x01 jnz $ + 3 ; 0x75 0x03 ret ; 0xC3 ; then begin // if al and 1 ... end_if: ... ; or ... lea r8, [end_if] push r8 test al, 1 ; 0xA8 0x01 jnz $ + 5 ; 0x75 0x05 ret 0 ; 0xC2 0x00 0x00 ; then begin // if al and 1 ... end_if: ... |
|||
18 May 2023, 16:59 |
|
FlierMate2 18 May 2023, 17:19
Thanks macomics.
|
|||
18 May 2023, 17:19 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.