From: io_x on 23 Dec 2009 12:12 Buon Natale Merry Christmas to all!
From: Nathan Baker on 23 Dec 2009 20:53 "io_x" <a(a)b.c.invalid> wrote in message news:4b324d9b$0$816$4fafbaef(a)reader5.news.tin.it... > Buon Natale > > Merry Christmas to all! > Merry Christmas and a Happy New Year! Nathan.
From: Herbert Kleebauer on 24 Dec 2009 15:00 io_x wrote: > > Buon Natale > > Merry Christmas to all! Sorry, there must be a bug. Your code crashes when I execute it. Here a working version (maybe you should use an assembler with a more logical syntax): @=$100 dc.b "Merry Christmas and a Happy New Year!" dc.b "$VZ500599" trap #$21 rts.w The hexdump of the binary: 4d65727279204368726973746d617320616e64206120486170 7079204e657720596561722124565a353030353939cd21c3
From: Alexei A. Frounze on 24 Dec 2009 16:29 On Dec 24, 12:00 pm, Herbert Kleebauer <k...(a)unibwm.de> wrote: > io_x wrote: > > > Buon Natale > > > Merry Christmas to all! > > Sorry, there must be a bug. Your code crashes when I execute it. > Here a working version (maybe you should use an assembler > with a more logical syntax): > >  @=$100 >  dc.b   "Merry Christmas and a Happy New Year!" >  dc.b   "$VZ500599" >  trap   #$21 >  rts.w > > The hexdump of the binary: > > 4d65727279204368726973746d617320616e64206120486170 > 7079204e657720596561722124565a353030353939cd21c3 No, he just didn't include the macro definitions. :) And neither will I: ¡Feliz Navidad! С РождеÑÑвом! Alex
From: io_x on 25 Dec 2009 12:52
"Herbert Kleebauer" <klee(a)unibwm.de> ha scritto nel messaggio news:4B33C852.77932A03(a)unibwm.de... > io_x wrote: the traslation ------------------ org 100h main: push si mov ah, 0Eh mov si, auguri ..1: mov al, [si] cmp al, 0 je .2 inc si int 10h jmp short .1 ..2: mov ax, 0 pop si ret auguri db "Auguri di Buon Natale, e di un felice " db "anno nuovo!" , 13, 10 db "Merry Christmas and a Happy New Year!" db 13, 10, 0, 0 ------------- origin ----------------- org 100h main: <i |ah=0Eh|i=auguri ..1: al= *i|al==0#.2|++i|int 10h|#.1 ..2: a=0 >i ret auguri db "Auguri di Buon Natale, e di un felice " db "anno nuovo!", 13, 10 db "Merry Christmas and a Happy New Year!" db 13, 10, 0, 0 |