NUT processor NOP's (beginner's question)



#2

Hi all,

There are some words (mainly in the class 0) that NUT processor considers as NOP's.

Some of them have been used for different purposes, the most well known being ENBANK (H'100, H'140, H'180, H'1C0) and WROM (H'040).

Another two are used by HEPAX module: ROMBLK (H'030) and WPTOG (H'1F0).

Willian Doug Wilder's M-code table shows WREG0 to WREG7 (H'200, H'240, H'280, H'2C0, H'300, H'340, H'380 & H'3C0). Although I have been unable to find further references to their usage.

Still three words remain apparently unused: H'080, H'0C0 & H'2B0.

So my question is: Are they *really* unused? and, therefore, can any of them be used to extend the functionality of a new born module?

Your comments will be much appreciated.

Best wishes.

Diego.


#3

Hi Diego,

Funny coincidence, I just returned from a short vacation to the Canaries (Lanzarote)!

I actually compiled a complete table of NUT instructions recently after I discovered some issues in my M2kM disassembler. Your observations are fully correct, I recall that there is some explanation in the HEPAX manual about WREG0 to WREG7.
Also CLASS 0, command D (13) seems to be unused, these include instructions $034 to $3F4 if I am correct.

Meindert


#4

Hi Meindert,

Good to read from you... and hope you've enjoyed your Canarian vacations; Lanzarote is certainly one of my favourite islands, unique landscapes and awsome volcanic forms there. Not to mention the beaches (Puerto del Carmen and Papagayo to say some)

Back to the NUT question, I know that there are some other NOP's in the NUT instructions "map". These in the class 0 (H'xx0) are of my interest because they're easy to decode.

Thanks for the hint regarding the HEPAX manual. I've checked it but I probably passed over the WREG info. Will read it again more carefully... :-)

Best wishes from Quisqueya (AKA Dominican Republic)

Diego


#5

Hi Guys, I'm definitely a software person but here's some comment.

Not sure if they're different but I'm thinking of the instructions in the i41CX MATH module - all of them ignored by the NUT CPU and thus used as triggers for the native iPOD code.

I could dig them out if you need to know - or you probably already have?

Cheers,
AM


#6

Hi Ángel,

Hope you're doing well.

I'm not aware of the i41CX intrincacies... just asking for the "real thing" behaviour as I want to build some extra features intended to avoid conflicts between physical ROM packs and the RAM pages. Quite in the way the W&W RAMbox64 (inside 41CY) does.

I assume that the CY uses some sort of internal mapping to detect whether or not a physical module is using any page in the range of its RAM (#8 to #F); and disabling such RAM page to avoid conflicts.

Regrettably I'm not one of the fortunate CY owners... :-( but the process itself might not be that difficult if I'm allowed to use a pseudo-NOP for mapping purposes on start-up.

However, if someone knows the details about W&W internal process it will also help a lot!

Best wishes.

Diego.

Edited: 9 May 2010, 5:58 p.m.

#7

I had already checked this out. i41CX+ uses the §3F4 instruction for all its functions to trigger the advanced math. The ROM images for I41CX support just contain the function names with the $3F4 instruction followed by a RTN. The rest of the ROM is just NOP's.

In the new MLDL2000 version I use memory mapped I/O, special functions are triggered by a read or write of a reserved location (I use x800 to x80F) in a special type of ROM image. This is pretty generic and can be used for both reads and writes.

I tried to search for info on the 41CY instructions (for speed change), but could not find any yet, maybe Christoph Klug can help us out here, he is specialized in the CX!

Meindert


Possibly Related Threads...
Thread Author Replies Views Last Post
  Creating an App, and evolution for the extreme beginner (me) Geoff Quickfall 4 672 10-20-2013, 01:27 AM
Last Post: Geoff Quickfall
  WP34S beginner question Geoff Quickfall 8 782 06-08-2012, 09:55 PM
Last Post: geoff quickfall
  That's a tough nut to crack... Matt Agajanian 7 642 05-25-2012, 01:53 PM
Last Post: Mike Morrow
  [WP34S] Beginner's positive thoughts - 1 week in. Chris Tvergard 7 816 05-14-2012, 03:35 PM
Last Post: Walter B
  Re: [WP34S] Beginner's positive thoughts - 1 week in. Chris Tvergard 2 441 05-13-2012, 06:50 PM
Last Post: Chris Tvergard
  HP35s Internal Investigations - new processor? stefan 5 724 03-08-2012, 04:48 AM
Last Post: Paul Dale
  HP-41 NUT Assembler question MichaelG 6 632 02-14-2012, 03:35 AM
Last Post: MichaelG
  Unable to start and run EMU41 on new 64-bit Processor Laptop running with Windows 7 Antoine M. Couëtte 6 682 12-18-2011, 10:23 AM
Last Post: Massimo Gnerucci (Italy)
  HP17BII+ Hardware - Atmel processor? Thomas Chrapkiewicz 4 513 10-16-2011, 11:32 PM
Last Post: JamesT
  First four parts of the Beginner RPL Tutorial up Eddie W. Shore 4 538 10-07-2011, 12:58 PM
Last Post: Peter Murphy (Livermore)

Forum Jump: