12345678910111213141516171819202122232425262728 |
- { Checks for qualified variable support
- in assembler reader }
- program test;
- {$ifdef cpui386}
- {$asmmode intel}
- {$endif}
- var l: longint;
- begin
- {$ifdef cpui386}
- asm
- mov test.l, 5
- end;
- {$endif cpui386}
- {$ifdef cpu68k}
- asm
- move.l test.l,d0
- end;
- {$endif cpu68k}
- {$ifdef arm}
- asm
- ld r0,test.l
- end;
- {$endif arm}
- end.
|