Skip to content

Commit

Permalink
add versions for how many bits a platform can support
Browse files Browse the repository at this point in the history
  • Loading branch information
MESYETI committed May 2, 2024
1 parent 67e843a commit d2b62fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/backends/linux86.d
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ class BackendLinux86 : CompilerBackend {
return size;
}

override string[] GetVersions() => ["Linux86", "Linux"];
override string[] GetVersions() => ["Linux86", "Linux", "8Bit", "16Bit"];

override string[] FinalCommands() => [
format("mv %s %s.asm", compiler.outFile, compiler.outFile),
Expand Down
4 changes: 3 additions & 1 deletion source/backends/rm86.d
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,9 @@ class BackendRM86 : CompilerBackend {
return size;
}

override string[] GetVersions() => ["RM86", "LittleEndian"];
override string[] GetVersions() => [
"RM86", "LittleEndian", "8Bit", "16Bit", "32Bit", "64Bit"
];

override string[] FinalCommands() => [
format("mv %s %s.asm", compiler.outFile, compiler.outFile),
Expand Down

0 comments on commit d2b62fe

Please sign in to comment.