| Electronic Components Datasheet Search |
|
PS081 Datasheet(PDF) 111 Page - ams AG |
|
|
|||||||||||||||||||||||||||||
PS081 Datasheet(HTML) 111 Page - ams AG |
|
111 / 155 page ![]() acam-messelectronic gmbh - Friedrich-List-Str.4 - D-76297 Stutensee-Blankenloch - Germany - www.acam.de 6-8 1 PSØ81 6.4 Instruction Set The complete instruction set of the PSØ81 consists of 94 core instructions that have unique op-code decoded by the CPU. Further there are emulated instructions like no2lcd that are replaced automati- cally by the assembler and call a subroutines in the ROM code. The variety of the instruction set allows to write comprehensive programs that cope with the 2 K size of the EEPROM. 6.4.1 Branch instructions There are 3 principles of jumping within the code: Jump. Absolute addressing with 12 Bit within the whole address space. Branch. Relative to the actual address with 8 Bit in the range of –128 to +127 bit addresses. Skip. Jump ahead up to 3 op-codes (3 to 15 bytes). The assembler puts together jump and branch into goto-instructions. It is possible to jump into subroutines only by means of absolute jumps and without any condition. 6.4.2 Arithmetic operations The RAM is organized in 24 Bit words. All instructions are based on two’s complement operations. An arithmetic command combines two accumulators and writes back the result into the first menti- oned accumulator. The RAM address pointer shows the RAM address that is handled in the same way as an accumulator. Each operation on the accumulator affects the four flags. The flags refer to the last operation. Table 6.4 Instruction set Simple Arithmetic Complex Arithmetic Shift & Rotate RAM access abs div24 clrC clear add divmod rotl decramadr compare mult24 rotR incramadr compl mult48 setC move decr shiftL ramadr getflag shiftR swap incr sign sub Logic Bitwise LCD display EEPROM access and bitclr clrLCD equal eor bitinv dez2lcd getepr nor bitset newlcd putepr invert no2lcd useEprInit nand no2LcdAccu nor setLCD or spi2lcd Member of the ams Group |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |