Cart New Account Login

HomeAbout usProductsSupportForumsBlogCustomer Service

search inside this forum
search inside all forums
DIRECT mode addressing fixed at $0000 to $00FF?
Kurt L. migrated on Dec 31, 2013 at 11:00 AM
No staff assigned yet

  • Hi, I recently ran into an issue where I wanted to set the CASM12Z assembler to treat instructions that reference RAM at $2000 as instructions encoded with direct mode (short form 8 bit) addressing.  However, the help files for our version of the IDE (version 2.20) say that DIRECT mode is fixed from $0000 to $00FF.  I would like to do this because I would rather have the speed of direct mode addressing applied to ram variables in my application, rather than applied to hardware register writes which mostly happen at initialization time (and thus don't need speed).

    Is there a directive to tell the assembler where the DIRECT page register has been set to? Thanks.



  • Hi Kurt,

    We are currently working on updating our CASM12Z assembler to support the new instructions and features of the HCS12X devices. The current version hasn't been updated for quite some time now and I don't expect it to be able to support this new DIRECT page register.

    Best regards,

Add comment

   Want to comment? Please login or create a new PEmicro account.

© 2019 P&E Microcomputer Systems Inc.
Website Terms of Use and Sales Agreement