home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ARM Club 3
/
TheARMClub_PDCD3.iso
/
programs
/
programming
/
progutils
/
!ProgUtils
/
!Help
next >
Wrap
Text File
|
1998-03-03
|
4KB
|
85 lines
_____________________________________________________________________________
“ P r o g U t i l s ”
SWI Translator, Expression Evaluator and ARM Instruction Decoder
by David Thomas, © 1995-6
version 1.02 (22 Jan 1996)
_____________________________________________________________________________
Purpose ___________________________________________________________________
I have various programs that I use for finding out SWI numbers, evaluating
expressions and bit-twiddling ARM instructions, but no program that does them
all. So I wrote this.
Usage _____________________________________________________________________
To load ProgUtils double-click on its icon in the filer window where it
resides. When it loads it will install on the right-hand side of the icon
bar. Click Select or Adjust on the ProgUtils icon bar icon to open the main
window. This window is divided into three sections, at the top is the SWI
Translator for converting between SWI numbers and names. In the middle is
the expression evaluator which will work out any expression that BASIC will
handle. At the bottom is the ARM Instruction Decoder which will dissassemble
a hexadecimal number into it’s assembler equivalent, it will also display the
number in binary.
To use the SWI Translator, enter a SWI name (such as “Wimp_RedrawWindow”)
in the topmost writable icon and click on ‘Get number’. The previously empty
writable below will have a hex number entered into it. To convert from a
number to a name, you enter the hex number (such as &400C8) into the writable
and click on ‘Get name’, the name will be entered into the topmost writable.
The Expression Evaluator is used by entering an expression (example “1+2”)
in the writable icon and then clicking on ‘Calculate’. The result will be
shown in the display to the left of the Calculate button. If an error occurs
then ‘error’ will appear in the display icon.
To use the ARM Instuction Decoder, enter a hex value in the writable and
click on ‘Calculate’. The value will be turned into binary and entered in
the ‘%’ display above the writable. It will also be dissassembled and
entered in the large display at the top of the box.
Versions __________________________________________________________________
1.02 (22 Jan 1996)
- Altered Templates and fixed indirected buffer which was too small,
whoops. :-)
1.01 (27 Dec 1995)
- Altered Evaluator to return real numbers.
1.00 (17 Sep 1995)
- Initial version.
- I may add a hex/dec/bin and ‘send’ button to the expression evaluator,
and bit-toggling to the Instruction Decoder in a later version.
Copyright & Contact Addresses _____________________________________________
This software is copyrighted work of David Thomas, it is supplied “as is”;
using it is entirely at your own risk. I make no warranty as to the fitness
of this software for any purpose. You are free to distribute this program
toanyone you please, as long as you are not supplying it for personal or
commercial gain and it is delivered with all of the supplied files unaltered.
If you have any comments, bug reports, suggestions for future versions or
anything else don’t hesitate to contact me at -
Mail: Mr D.P. Thomas
20 Rosebery Avenue
Waterloo
Liverpool
L22 2BH
Email: dpt@tristone.co.uk
WWW: http://www.tristone.co.uk/davespace/
_____________________________________________________________________________