Hi,

On Thu, Oct 10, 2019 at 11:08 AM TK Chia <[email protected]> wrote:
>
> > But it's missing "[var+BX]" Effective Address support.
> > Also, "MOV AX,..." (etc.) instructions use the bigger, non-optimal
> > encodings.
>
> Well, perhaps there are ways to fix the support for these things in
> tinyasm...

=============================================
; WACKY.ASM -- tested with Tinyasm (2019-Oct-08)

  mov ax,word[alpha]    ; 8B 06 1201  mov ax,[0x112]
  mov ax,[alpha]        ;    A1 1201  " "

  mov al,byte[beta]     ; 8A 06 1301  mov al,[0x113]
  mov al,[beta]         ;    A0 1301  " "

  mov bx,[bx+zeta]      ; 8B 9F 1401  mov bx,[bx+0x114]
; mov bx,[zeta+bx]      ; *** won't even assemble! ***

alpha: db 'a'
beta:  db 'b'
zeta:  db 'z'

; EOF
=============================================

So it's a bit picky with what syntax it accepts, but it does
(already!) support it correctly. Just FYI.


_______________________________________________
Freedos-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to