Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. lilnan

    Working with arrays

    Thanks!! I got it. I just moved the ax into another variable and created a new macro as such, to display the correct day: _showDay MACRO text mov dx, text mov ah, 09h int 21h ENDM
  2. lilnan

    Working with arrays

    I still get "Today is Sunday." as my result. Am I missing the concept of something? It seems to be just taking the first one on the list. Heres my .asm and .lib: ; Macro to initialize registers at program start _initreg MACRO mov ax, @data ; Initialize mov ds, ax ; Segment registers sub...
  3. lilnan

    Working with arrays

    I am a beginner and am trying to display the current date. So far I have this but it just keeps printing Sunday which is the first entry in the "DayName" array. I am trying to get the current date from the system to display. Can anyone direct me in what I am doing wrong. Heres my code...if need...

Part and Inventory Search

Back
Top