Git Product home page Git Product logo

avr's Introduction

avr

AVR architecture incursions

source - AVR Instruction Set Manual

Designations

1.1. RAMPX, RAMPY, and RAMPZ Registers concatenated with the X-, Y-, and Z-registers enabling indirect addressing of the whole data space on MCUs with more than 64KB data space, and constant data fetch on MCUs with more than 64KB program space. 1.2. RAMPD Register concatenated with the Z-register enabling direct addressing of the whole data space on MCUs with more than 64KB data space. 1.3. EIND Register concatenated with the Z-register enabling indirect jump and call to the whole program space on MCUs with more than 64K words (128KB) program space. 1.4. Stack STACK Stack for return address and pushed registers SP Stack Pointer to STACK 1.5. Flags ⇔ Flag affected by instruction 0 Flag cleared by instruction 1 Flag set by instruction

  • Flag not affected by instruction

Status Register (SREG)

SREG Status Register C Carry Flag Z Zero Flag N Negative Flag V Two’s complement overflow indicator S N ⊕ V, for signed tests H Half Carry Flag T Transfer bit used by BLD and BST instructions I Global Interrupt Enable/Disable Flag

Registers and Operands

Rd: Destination (and source) register in the Register File Rr: Source register in the Register File R: Result after instruction is executed K: Constant data k: Constant address b: Bit in the Register File or I/O Register (3-bit) s: Bit in the Status Register (3-bit) X,Y,Z: Indirect Address Register (X=R27:R26, Y=R29:R28, and Z=R31:R30) A: I/O location address q: Displacement for direct addressing (6-bit)

#HTML Page python -m SimpleHTTPServer

avr's People

Contributors

bigsby avatar brunosmi avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.