2013-07-25 01:02:07 +00:00
|
|
|
/*
|
2013-07-25 14:42:02 +00:00
|
|
|
abCOpDec.c
|
2013-07-25 01:02:07 +00:00
|
|
|
By: Jeremy Rand
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
2013-07-25 14:42:02 +00:00
|
|
|
#include "abCMode.h"
|
2013-07-25 01:02:07 +00:00
|
|
|
|
2013-07-25 15:21:21 +00:00
|
|
|
#include "ops/abCOp.h"
|
|
|
|
#include "ops/abCOpDec.h"
|
|
|
|
|
2013-07-25 01:02:07 +00:00
|
|
|
|
2013-07-27 02:27:29 +00:00
|
|
|
#define DEC_NAME "DEC"
|
2013-07-25 01:02:07 +00:00
|
|
|
|
|
|
|
|
|
|
|
static void decExecute(void);
|
|
|
|
|
|
|
|
|
|
|
|
void abCalcOpDecInit(void)
|
|
|
|
{
|
2013-07-27 02:27:29 +00:00
|
|
|
abCalcOpRegister(DEC_NAME, decExecute);
|
2013-07-25 01:02:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void decExecute(void)
|
|
|
|
{
|
|
|
|
abCalcModeSetBase(abCalcModeDecBase);
|
|
|
|
}
|