Search code examples
assemblylinesemu8086

Lines that aren't in same line


i have doing assembly but i stack somewhere, i don't know how can i do this,i want to "appear" this message on screen in assembly,i use emu8086.I wrote MES DB 10,13,"Za7",10,13,"$".The first line but how i do the second or the third or the four.I know i should change something on that but i don't know what should i change.As a result it would be like this way i did down.The second line is more inside the third more and the four line more.

Za7
  Yb9
    Xc11
       Wd13

Solution

  • There are a couple of different ways of doing this, but the simplest is;

    MES     db    10,13,'Yb9',10,13,'  Za7',10,13,'    Xc11'
            db    10,13,'       Wd13',10,13,'$'