; 
;   Copyright 1994-2003 Free Software Foundation, Inc.
;
;   This library is free software; you can redistribute it and/or
;   modify it under the terms of the GNU Lesser General Public
;   License as published by the Free Software Foundation; either
;   version 2.1 of the License, or (at your option) any later version.
;
;   This library is distributed in the hope that it will be useful,
;   but WITHOUT ANY WARRANTY; without even the implied warranty of
;   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
;   Lesser General Public License for more details.
;
;   You should have received a copy of the GNU Lesser General Public
;   License along with this library; if not, write to the Free Software
;   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 
;   USA
;
;   You may contact the author at:
;
;   mailto::camille@bluegrass.net
;
;   or by snail mail at:
;
;   David Lindauer
;   850 Washburn Ave Apt 99
;   Louisville, KY 40222
;
	;MASM MODE
	.386
	.model use32 small

include	version.asi
include  prints.ase 
include  mtrap.ase 
include  input.ase

	PUBLIC  Help

	.code
;
; help command entry point
;
Help	PROC
	call	Message
	db	13,10,"Debug/386 Version "
	db	30h + VERID/10,'.',30h + VERID MOD 10,9,9
	db	"Copyright (c) LADsoft",13,10
	db	"a  [addr]                      - assemble",10,13
	db	"b  [d][#]                      - Show breakpoint(s)",13,10
	db	"b  [d][-]#,addr[,r/w/x[,len]]  - set or clear a hdwe breakpoint",13,10
	db	"b  [-]#,addr                   - set or clear a breakpoint",13,10
	db	"c  start,end,dest              - compare memory",10,13
	db	"d  [bwd]  [start [,end]]       - dump memory",13,10
	db	"e  [bwd]  start [,list]        - examine memory",13,10
	db	"f  start,end [,val]            - fill memory",13,10
	db	"g  [=start] [,break]           - run from start (or pos) to break",13,10
	db	"h  val1 [+-*/] val2            - hex arithmetic",13,10
	db	"i  port                        - read from port",13,10
	db	"m  start,end,dest              - move memory",13,10
	db	"o  port,val                    - write to port",13,10
	db	"p  [r][count]                  - step over/out",13,10
	db	"q                              - quit",13,10
	db	"r  [reg[:val]]                 - show/modify regs",13,10
	db  "rf                             - show/modify flags",13,10
	db	"rm [m#]                        - show/modify mmx regs",13,10
	db	"rn [s][# val]                  - show/modify fp regs/status",13,10
	db	"s  start,end [,list]           - search for a byte pattern",13,10
	db	"t  [count]                     - step into",13,10
	db	"u  [start [,end]]              - unassemble",13,10
	db  "/	instruction                 - execute an instruction", 13, 10
	db	"?                              - this help"
	db	0
	clc
	ret	
Help	ENDP
END