소스 검색

+ enable the Z80 internal asm (which doesn't work, yet) if the compiler is compiled with -dZ80_INTERNAL_ASM

git-svn-id: trunk@45215 -
nickysn 5 년 전
부모
커밋
950c1d1693
2개의 변경된 파일8개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      compiler/systems/i_embed.pas
  2. 4 0
      compiler/systems/i_zxspectrum.pas

+ 4 - 0
compiler/systems/i_embed.pas

@@ -750,7 +750,11 @@ unit i_embed;
             Cprefix      : '';
             newline      : #10;
             dirsep       : '/';
+{$ifdef Z80_INTERNAL_ASM}
+            assem        : as_z80_rel;
+{$else Z80_INTERNAL_ASM}
             assem        : as_sdcc_sdasz80;
+{$endif Z80_INTERNAL_ASM}
             assemextern  : as_sdcc_sdasz80;
             link         : ld_none;
             linkextern   : ld_embedded;

+ 4 - 0
compiler/systems/i_zxspectrum.pas

@@ -67,7 +67,11 @@ unit i_zxspectrum;
             Cprefix      : '';
             newline      : #10;
             dirsep       : '/';
+{$ifdef Z80_INTERNAL_ASM}
+            assem        : as_z80_rel;
+{$else Z80_INTERNAL_ASM}
             assem        : as_sdcc_sdasz80;
+{$endif Z80_INTERNAL_ASM}
             assemextern  : as_sdcc_sdasz80;
             link         : ld_none;
             linkextern   : ld_zxspectrum;