cpprisc16  June 16, 2020
Namespaces | Functions
cppis1.cpp File Reference

Additional Instructions Set 1 IS[1]. More...

#include "cppis1.hpp"
Include dependency graph for cppis1.cpp:

Go to the source code of this file.

Namespaces

 cpprisc16
 

Functions

bool cpprisc16::is1_add (unsigned int result, unsigned int a, unsigned int b)
 R[result] <– R[a] + R[b]. More...
 
void cpprisc16::is1_nor (unsigned int result, unsigned int a, unsigned int b)
 R[result] <– R[a] NOR R[b] (== ~(a | b)) More...
 
bool cpprisc16::is1_sha (unsigned int result, unsigned int a, unsigned int b)
 (SHift Arithmetic) R[result] <– (R[a] << R[b]) or (R[a] >> -R[b]) More...
 
bool cpprisc16::is1_shl (unsigned int result, unsigned int a, unsigned int b)
 (SHift Logic) R[result] <– (R[a] << R[b]) or (R[a] >> -R[b]) More...
 
void cpprisc16::is1_shifti (unsigned int result, unsigned int a, immed_t immed7)
 (Shift Immediate) R[result] <– (R[a] << immed5) or (R[a] >> -immed5) More...
 
bool cpprisc16::is1_sub (unsigned int result, unsigned int a, unsigned int b)
 R[result] <– R[a] - R[b]. More...
 
void cpprisc16::is1_xor (unsigned int result, unsigned int a, unsigned int b)
 R[result] <– R[a] XOR R[b] (== ~(a ^ b)) More...
 

Detailed Description

Additional Instructions Set 1 IS[1].

(March 14, 2017) Piece of cpprisc16. https://bitbucket.org/OPiMedia/cpprisc16

GPLv3 — Copyright (C) 2017 Olivier Pirson http://www.opimedia.be/

Definition in file cppis1.cpp.