Intel Quark Microcontroller D1000 Programmer's Reference Manual

Intel Quark Microcontroller D1000 Programmer's Reference Manual

Intel® QuarkTM microcontroller D1000 Programmer’s Reference Manual November 2015 Document Number: 332913-002US YouLegal Lines andmay Disclaimers not use or facilitate the use of this document in connection with any infringement or other legal analysis concerning Intel products described herein. You agree to grant Intel a non-exclusive, royalty-free license to any patent claim thereafter drafted which includes subject matter disclosed herein. No license (express or implied, by estoppel or otherwise) to any intellectual property rights is granted by this document. All information provided here is subject to change without notice. Contact your Intel representative to obtain the latest Intel product specifications and roadmaps. The products described may contain design defects or errors known as errata which may cause the product to deviate from published specifications. Current characterized errata are available on request. Copies of documents which have an order number and are referenced in this document may be obtained by calling 1-800-548-4725 or by visiting: http://www.intel.com/design/literature.htm Intel technologies’ features and benefits depend on system configuration and may require enabled hardware, software or service activation. Learn more at http://www.intel.com/ or from the OEM or retailer. No computer system can be absolutely secure. Intel, Intel Quark, and the Intel logo are trademarks of Intel Corporation in the U.S. and/or other countries. *Other names and brands may be claimed as the property of others. Copyright © 2015, Intel Corporation. All rights reserved. Intel® QuarkTM microcontroller D1000 PRM November 2015 2 Document Number: 332913-002US Contents—Intel® QuarkTM microcontroller D1000 Contents 1.0 Introduction ............................................................................................................ 12 1.1 Intel® Quark™ microcontroller D1000 CPU Overview ............................................. 12 1.2 Interrupts ........................................................................................................ 12 1.3 I/O.................................................................................................................. 12 1.4 Code and Data Interfaces ................................................................................... 13 1.4.1 Instruction Alignment ............................................................................. 13 1.4.2 Data Alignment ...................................................................................... 13 1.4.3 Stack Alignment..................................................................................... 13 1.5 Floating Point.................................................................................................... 13 2.0 Compatibility ........................................................................................................... 14 3.0 Memory Model ......................................................................................................... 16 3.1 Bit and Byte Order............................................................................................. 16 3.2 Addressing ....................................................................................................... 16 3.3 Memory Ordering .............................................................................................. 16 3.3.1 Strong Ordering Rules............................................................................. 17 3.3.2 Weak Ordering Rules .............................................................................. 17 3.3.3 Mixed Ordering Rules.............................................................................. 17 3.3.4 Write Flushing........................................................................................ 18 3.4 Self-Modifying Code........................................................................................... 18 3.5 Stack Behavior.................................................................................................. 18 3.5.1 Stack Alignment..................................................................................... 18 3.5.2 Stack Over/Underflow ............................................................................. 18 4.0 Registers ................................................................................................................. 20 4.1 General Purpose Registers .................................................................................. 20 4.2 Special Purpose Registers................................................................................... 21 4.3 EFLAGS............................................................................................................ 21 5.0 Exceptions............................................................................................................... 24 5.1 Exception Types................................................................................................ 24 5.1.1 Interrupts ............................................................................................. 24 5.1.2 Faults ................................................................................................... 24 5.1.3 Traps.................................................................................................... 25 5.1.4 Aborts .................................................................................................. 25 5.2 Exception Handling............................................................................................ 25 5.3 Triple Fault....................................................................................................... 25 5.4 Interrupt Descriptor Table .................................................................................. 26 5.5 Format of Interrupt Descriptors........................................................................... 26 5.6 Exception 0 - Divide Error (#DE) ......................................................................... 27 5.6.1 Exception Class...................................................................................... 27 5.6.2 Error Code ............................................................................................ 27 5.6.3 Saved Instruction Pointer ........................................................................ 27 5.6.4 Program State Change ............................................................................ 27 5.7 Exception 1 - Debug Exception (#DB) .................................................................. 27 5.7.1 Exception Class...................................................................................... 28 5.7.2 Error Code ............................................................................................ 28 5.7.3 Saved Instruction Pointer ........................................................................ 28 5.7.4 Program State Change ............................................................................ 28 5.8 Exception 3 - Breakpoint (#BP) ........................................................................... 28 5.8.1 Exception Stack Frame............................................................................ 29 5.8.2 Exception Class...................................................................................... 29 Intel® QuarkTM microcontroller D1000 November 2015 PRM Document Number: 332913 002US 3 Intel® QuarkTM microcontroller D1000—Contents 5.8.3 Error Code .............................................................................................29 5.8.4 Saved Instruction Pointer.........................................................................29 5.8.5 Program State Change ............................................................................29 5.9 Exception 6 - Invalid Opcode (#UD) .....................................................................29 5.9.1 Exception Stack Frame ............................................................................30 5.9.2 Exception Class ......................................................................................30 5.9.3 Error Code .............................................................................................30 5.9.4 Saved Instruction Pointer.........................................................................30 5.9.5 Program State Change ............................................................................30 5.10 Exception 8 - Double Fault (#DF).........................................................................30 5.10.1 Exception Stack Frame ............................................................................30 5.10.2 Exception Class ......................................................................................31 5.10.3 Error Code .............................................................................................31 5.10.4 Saved Instruction Pointer.........................................................................31 5.10.5 Program State Change ............................................................................31 5.11 Exception 11 - Not Present (#NP) ........................................................................31 5.11.1 Exception Stack Frame ............................................................................31 5.11.2 Exception Class ......................................................................................32 5.11.3 Error Code .............................................................................................32

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    111 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us