[Development] Notes on "Qt Build Systems" @ QtCon 2016

Kevin Kofler kevin.kofler at chello.at
Tue Sep 6 17:19:06 CEST 2016


Ch'Gans wrote:
> If I followed this reasoning, I would still be writing my programs in
> Motorola assembler...

pea msg(%pc)
jbsr puts
addq.l #4,%a7
rts

msg: .asciz "And this would be wrong, why? ;-)"

or if you prefer the more traditional syntax:

 pea msg(PC)
 jsr puts
 addq.l #4,a7
 rts

msg: dc.b "And this would be wrong, why? ;-)", 0

:-)

        Kevin Kofler




More information about the Development mailing list