Path: utzoo!attcan!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!UTCVM.BITNET!JWANKERL From: JWANKERL@UTCVM.BITNET ("Josef W. Wankerl") Newsgroups: comp.sys.apple Subject: Disassemble a GS instruction. Message-ID: <8910231327.aa23166@SMOKE.BRL.MIL> Date: 23 Oct 89 16:07:37 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 20 I was looking through my firmware reference manual for the routine I can call from the miscellaneous tool set's FWEntry routine that would disassemble a instruction. I think I found it - INSTDSP at $F8D0. But what I am wondering is how I can call this routine and support various register lengths. Somebody PLEASE correct me if I'm wrong, but what I have to to to begin to get this thing working is to first put the instruction I want disassembled into bank 0, set the zero page locations $3A/$3B to point to my code I want disassembled (yes, zero page as opposed to direct page, right?) then call FWEntry. What kind of results can I expect from this? I want to use GS/OS character device output to display the disassembled instruction so /**********************************************************************\ |* Joe "Gonzo" Wankerl |*| The views expressed here are *| |* BITNET => JWANKERL@UTCVM |*| not necessarily yours... *| |* |*| ...but they should be. *| \**********************************************************************/