Microsoft (R) Macro Assembler Version 5.10                  2/14/25 23:44:22
                                                             Page     1-1


				
				
 0000				CODE    SEGMENT PARA PUBLIC 'CODE'
 0000				CODE    ENDS
 0000				DATA    SEGMENT PARA PUBLIC 'DATA'
 0000				DATA    ENDS
 0000				STACK   SEGMENT PARA STACK  'STACK'
 0000				STACK   ENDS
 0000				ZLOAD   SEGMENT PARA PUBLIC 'ZLOAD'
 0000				ZLOAD   ENDS
				
 0000				CODE    SEGMENT PARA PUBLIC 'CODE'
				        assume  cs:code,ds:data
				;
				;**********************************************
				*******************************
				; External Declarations
				;**********************************************
				*******************************
				;
				
				        extrn   SysDispMsg:near
				
				;
				;**********************************************
				*****************************
				; Message Structures
				;**********************************************
				*****************************
				;
				
				
				Message_Table struc                            
				 ;                               ;AN000;
				                                               
				 ;
 0000  0000			Entry1  dw      0                              
				 ;                               ;AN000;
 0002  0000			Entry2  dw      0                              
				 ;                               ;AN000;
 0004  0000			Entry3  dw      0                              
				 ;                               ;AN000;
 0006  0000			Entry4  dw      0                              
				 ;                               ;AN000;
 0008  00			Entry5  db      0                              
				 ;                               ;AN000;
 0009  00			Entry6  db      0                              
				 ;                               ;AN000;
 000A  0000			Entry7  dw      0                              
				 ;                               ;AN000;
				                                               
				 ;
 000C				Message_Table ends                             
				 ;                               ;AN000;
Microsoft (R) Macro Assembler Version 5.10                  2/14/25 23:44:22
                                                             Page     1-2


				
				
				
				;**********************************************
				*******************************
				;Routine name&gml Display_Interface
				;**********************************************
				*******************************
				;
				;DescriptioN&gml Save all registers, set up reg
				isters required for SysDispMsg
				;             routine. This information is cont
				ained in a message description
				;             table pointed to by the DX regist
				er. Call SysDispMsg, then
				;             restore registers. This routine a
				ssumes that the only time an
				;             error will be returned is if an e
				xtended error message was
				;             requested, so it will ignore erro
				r returns
				;
				;Called Procedures: Message (macro)
				;
				;Change History&gml Created        4/22/87     
				    MT
				;
				;Input&gml ES&gmlDX = pointer to message descri
				ption
				;
				;Output&gml None
				;
				;Psuedocode
				;----------
				;
				;       Save all registers
				;       Setup registers for SysDispMsg from Mes
				sage Description Tables
				;       CALL SysDispMsg
				;       Restore registers
				;       ret
				;**********************************************
				*******************************
				
				Public  Display_Interface
 0000				Display_Interface   proc                       
				 ;                               ;AN000;
				
 0000  1E			        push    ds                             
				 ;                               ;AN000;
 0001  06			        push    es                             
				 ;                               ;AN000;
 0002  50			        push    ax                             
				 ;Save registers                 ;AN000;
Microsoft (R) Macro Assembler Version 5.10                  2/14/25 23:44:22
                                                             Page     1-3


 0003  53			        push    bx                             
				 ; "  "    "  "                  ;AN000;
 0004  51			        push    cx                             
				 ; "  "    "  "                  ;AN000;
 0005  52			        push    dx                             
				 ; "  "    "  "                  ;AN000;
 0006  56			        push    si                             
				 ; "  "    "  "                  ;AN000;
 0007  57			        push    di                             
				 ; "  "    "  "                  ;AN000;
 0008  8B FA			        mov     di,dx                          
				 ;Change pointer to table        ;AN000;
 000A  BA ---- R		        mov     dx,SEG data                    
				 ;Point to data segment
 000D  8E DA			        mov     ds,dx                          
				 ;
 000F  8E C2			        mov     es,dx
 0011  8B 05			        mov     ax,[di].Entry1                 
				 ;Message number                 ;AN000;
 0013  8B 5D 02			        mov     bx,[di].Entry2                 
				 ;Handle                         ;AN000;
 0016  8B 75 04			        mov     si,[di].Entry3                 
				 ;Sublist                        ;AN000;
 0019  8B 4D 06			        mov     cx,[di].Entry4                 
				 ;Count                          ;AN000;
 001C  8A 75 08			        mov     dh,[di].Entry5                 
				 ;Class                          ;AN000;
 001F  8A 55 09			        mov     dl,[di].Entry6                 
				 ;Function                       ;AN000;
 0022  8B 7D 0A			        mov     di,[di].Entry7                 
				 ;Input                          ;AN000;
 0025  E8 0000 E		        call    SysDispMsg                     
				 ;Display the message            ;AN000;
 0028  5F			        pop     di                             
				 ;Restore registers              ;AN000;
 0029  5E			        pop     si                             
				 ; "  "    "  "                  ;AN000;
 002A  5A			        pop     dx                             
				 ; "  "    "  "                  ;AN000;
 002B  59			        pop     cx                             
				 ; "  "    "  "                  ;AN000;
 002C  5B			        pop     bx                             
				 ; "  "    "  "                  ;AN000;
 002D  58			        pop     ax                             
				 ; "  "    "  "                  ;AN000;
 002E  07			        pop     es                             
				 ;                               ;AN000;
 002F  1F			        pop     ds                             
				 ;                               ;AN000;
 0030  C3			        ret                                    
				 ;All done                       ;AN000;
				
 0031				Display_Interface      endp                    
				 ;                               ;AN000;
Microsoft (R) Macro Assembler Version 5.10                  2/14/25 23:44:22
                                                             Page     1-4


 0031				code    ends
				
				
				        end
Microsoft (R) Macro Assembler Version 5.10                  2/14/25 23:44:22
                                                             Symbols-1


Structures and Records:

                N a m e                 Width   # fields
                                        Shift   Width   Mask    Initial

MESSAGE_TABLE  . . . . . . . . .  	000C	0007
  ENTRY1 . . . . . . . . . . . .  	0000
  ENTRY2 . . . . . . . . . . . .  	0002
  ENTRY3 . . . . . . . . . . . .  	0004
  ENTRY4 . . . . . . . . . . . .  	0006
  ENTRY5 . . . . . . . . . . . .  	0008
  ENTRY6 . . . . . . . . . . . .  	0009
  ENTRY7 . . . . . . . . . . . .  	000A

Segments and Groups:

                N a m e         	Length	 Align	Combine Class

CODE . . . . . . . . . . . . . .  	0031	PARA	PUBLIC	'CODE'
DATA . . . . . . . . . . . . . .  	0000	PARA	PUBLIC	'DATA'
STACK  . . . . . . . . . . . . .  	0000	PARA	STACK	'STACK'
ZLOAD  . . . . . . . . . . . . .  	0000	PARA	PUBLIC	'ZLOAD'

Symbols:            

                N a m e         	Type	 Value	 Attr

Display_Interface  . . . . . . .  	N PROC	0000	CODE	Global	Length = 0031

SysDispMsg . . . . . . . . . . .  	L NEAR	0000	CODE	External

@CPU . . . . . . . . . . . . . .  	TEXT  0101h		
@FILENAME  . . . . . . . . . . .  	TEXT  display		
@VERSION . . . . . . . . . . . .  	TEXT  510		


    109 Source  Lines
    109 Total   Lines
     19 Symbols

  47570 + 272153 Bytes symbol space free

      0 Warning Errors
      0 Severe  Errors
