We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c195886 commit 390fd31Copy full SHA for 390fd31
llvm/lib/Target/Z80/MCTargetDesc/Z80TargetStreamer.cpp
@@ -36,8 +36,13 @@ void Z80TargetAsmStreamer::emitLabel(MCSymbol *Symbol) {
36
}
37
38
void Z80TargetAsmStreamer::emitAlign(Align Alignment) {
39
- if (auto Mask = Alignment.value() - 1)
40
- Z80GasStyle ? OS << "\t.skip\t($$ - $) and " << Mask << '\n' : OS << "\trb\t($$ - $) and " << Mask << '\n';
+ if (auto Mask = Alignment.value() - 1) {
+ if (Z80GasStyle) {
41
+ OS << "\t.balign\t" << Alignment.value() << '\n';
42
+ } else {
43
+ OS << "\trb\t($$ - $) and " << Mask << '\n';
44
+ }
45
46
47
48
void Z80TargetAsmStreamer::emitBlock(uint64_t NumBytes) {
0 commit comments