version 1.9, 2000/06/11 11:06:23
|
version 1.14, 2007/12/31 19:02:24
|
Line 1
|
Line 1
|
\ disasm.fs disassembler file (for MIPS R3000) |
\ disasm.fs disassembler file (for MIPS R3000) |
\ |
\ |
\ Copyright (C) 1995-97 Martin Anton Ertl, Christian Pirker |
\ Copyright (C) 2000,2007 Free Software Foundation, Inc. |
\ |
|
\ This file is part of RAFTS. |
\ This file is part of Gforth. |
\ |
|
\ RAFTS is free software; you can redistribute it and/or |
\ Gforth is free software; you can redistribute it and/or |
\ modify it under the terms of the GNU General Public License |
\ modify it under the terms of the GNU General Public License |
\ as published by the Free Software Foundation; either version 2 |
\ as published by the Free Software Foundation, either version 3 |
\ of the License, or (at your option) any later version. |
\ of the License, or (at your option) any later version. |
\ |
|
\ This program is distributed in the hope that it will be useful, |
\ This program is distributed in the hope that it will be useful, |
\ but WITHOUT ANY WARRANTY; without even the implied warranty of |
\ but WITHOUT ANY WARRANTY; without even the implied warranty of |
\ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
\ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
\ GNU General Public License for more details. |
\ GNU General Public License for more details. |
\ |
|
\ You should have received a copy of the GNU General Public License |
\ You should have received a copy of the GNU General Public License |
\ along with this program; if not, write to the Free Software |
\ along with this program. If not, see http://www.gnu.org/licenses/. |
\ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
|
|
|
\ this disassembler is based on data from the R4400 manual |
\ this disassembler is based on data from the R4400 manual |
\ http://www.mips.com/Documentation/R4400_Uman_book_Ed2.pdf, in |
\ http://www.mips.com/Documentation/R4400_Uman_book_Ed2.pdf, in |
Line 98 dup set-current
|
Line 97 dup set-current
|
\G disassemble u aus starting at addr |
\G disassemble u aus starting at addr |
bounds u+do |
bounds u+do |
cr ." ( " i hex. ." ) " i i @ disasm-inst |
cr ." ( " i hex. ." ) " i i @ disasm-inst |
1 cells +loop ; |
1 cells +loop |
|
cr ; |
|
|
|
' disasm IS discode |
|
|
definitions |
definitions |
|
|