From: io_x on
Buon Natale

Merry Christmas to all!



From: Nathan Baker on
"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
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
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

"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