mirror of
https://github.com/jeremysrand/abCalc.git
synced 2024-11-18 21:07:19 +00:00
31 lines
346 B
C
31 lines
346 B
C
|
/*
|
||
|
abCalcOpHex.c
|
||
|
By: Jeremy Rand
|
||
|
*/
|
||
|
|
||
|
|
||
|
#include <stdio.h>
|
||
|
|
||
|
#include "abCalcOpHex.h"
|
||
|
|
||
|
#include "abCalcOp.h"
|
||
|
#include "abCalcMode.h"
|
||
|
|
||
|
|
||
|
#define OP_NAME "HEX"
|
||
|
|
||
|
|
||
|
static void hexExecute(void);
|
||
|
|
||
|
|
||
|
void abCalcOpHexInit(void)
|
||
|
{
|
||
|
abCalcOpRegister(OP_NAME, hexExecute);
|
||
|
}
|
||
|
|
||
|
|
||
|
void hexExecute(void)
|
||
|
{
|
||
|
abCalcModeSetBase(abCalcModeHexBase);
|
||
|
}
|