1
0
mirror of https://github.com/KarolS/millfork.git synced 2026-04-20 03:16:45 +00:00

Intel 8085 support

This commit is contained in:
Karol Stasiak
2019-05-31 17:27:38 +02:00
parent 1cb3b672b1
commit b3bb9bb063
17 changed files with 93 additions and 22 deletions
+2 -2
View File
@@ -44,11 +44,11 @@ If given, then the compiler will NOT try to detect the default include directory
* `-finput_intel_syntax`, `-finput_zilog_syntax`
Choose syntax for assembly sources on 8080-like targets.
Can be overridden by the source file itself using `#pragma`.
`.ini` equivalent: `input_intel_syntax`. Default: Intel (true) on Intel 8080, Zilog (false) otherwise.
`.ini` equivalent: `input_intel_syntax`. Default: Intel (true) on Intel 8080/8085, Zilog (false) otherwise.
* `-foutput_intel_syntax`, `-foutput_zilog_syntax`
Choose syntax for assembly output on 8080-like targets.
`.ini` equivalent: `output_intel_syntax`. Default: Intel (true) on Intel 8080, Zilog (false) otherwise.
`.ini` equivalent: `output_intel_syntax`. Default: Intel (true) on Intel 8080/8085, Zilog (false) otherwise.
* `--syntax=intel`, `--syntax=zilog` sets both previous options at once
+6 -4
View File
@@ -27,11 +27,13 @@ if a line ends with a backslash character, the value continues to the next line.
* `65816` (WDC 65816/65802; experimental; currently only programs that use only 16-bit addressing are supported)
* `z80` (Zilog Z80; experimental and slightly incomplete)
* `z80` (Zilog Z80)
* `i8080` (Intel 8080; experimental, buggy and very incomplete)
* `i8080` (Intel 8080)
* `gameboy` (Sharp LR35902; experimental, buggy and very incomplete)
* `i8085` (Intel 8085)
* `gameboy` (Sharp LR35902; experimental)
* `i8086` (Intel 8086; very experimental, very buggy and very, very incomplete
see the [8086 support disclaimer](../lang/x86disclaimer.md))
@@ -94,7 +96,7 @@ Default: the same as `encoding`.
* `software_stach` use software stack for stack variables, default is `false`
* `output_intel_syntax` use Intel syntax instead of Zilog syntax, default is `true` for Intel 8080 and `false` otherwise
* `output_intel_syntax` use Intel syntax instead of Zilog syntax, default is `true` for Intel 8080/8085 and `false` otherwise
#### `[define]` section
+1 -1
View File
@@ -44,7 +44,7 @@ You may be also interested in the following:
* `-fipo` enable interprocedural optimization
* `-s` additionally generate assembly output
(if targeting Intel 8080, use `--syntax=intel` or `--syntax=zilog` to choose the preferred assembly syntax)
(if targeting Intel 8080/8085, use `--syntax=intel` or `--syntax=zilog` to choose the preferred assembly syntax)
* `-fsource-in-asm` show original Millfork source in the assembly output