From 8f855d283a31a468ea014774c4723a8b77b81644 Mon Sep 17 00:00:00 2001 From: bg Date: Thu, 6 Aug 2009 13:35:36 +0000 Subject: [PATCH] forgotten files --- test_src/hexdigit_tab.S | 42 +++++++++++++++++++++++++++++++++ test_src/hexdigit_tab_c.c | 49 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 91 insertions(+) create mode 100644 test_src/hexdigit_tab.S create mode 100644 test_src/hexdigit_tab_c.c diff --git a/test_src/hexdigit_tab.S b/test_src/hexdigit_tab.S new file mode 100644 index 0000000..3d85b05 --- /dev/null +++ b/test_src/hexdigit_tab.S @@ -0,0 +1,42 @@ +/* hexdigit_tab.S */ +/* + * This file is part of AnonAccess, an access system which can be used + * to open door or doing other things with an anonymity featured + * account managment. + * Copyright (C) 2006, 2007, 2008 Daniel Otte (daniel.otte@rub.de) + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +.global hexdigit_tab_P +hexdigit_tab_P: +.global hexdigit_tab_uc_P +hexdigit_tab_uc_P: +.byte '0','1','2','3' +.byte '4','5','6','7' +.byte '8','9','A','B' +.byte 'C','D','E','F' + +.global hexdigit_tab_lc_P +hexdigit_tab_lc_P: +.byte '0','1','2','3' +.byte '4','5','6','7' +.byte '8','9','a','b' +.byte 'c','d','e','f' + + + + + + diff --git a/test_src/hexdigit_tab_c.c b/test_src/hexdigit_tab_c.c new file mode 100644 index 0000000..874109c --- /dev/null +++ b/test_src/hexdigit_tab_c.c @@ -0,0 +1,49 @@ +/* hexdigit_tab.c */ +/* + * This file is part of AnonAccess, an access system which can be used + * to open door or doing other things with an anonymity featured + * account managment. + * Copyright (C) 2006, 2007, 2008 Daniel Otte (daniel.otte@rub.de) + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + + + +#include +#include "hexdigit_tab.h" + +char hexdigit_tab_P[] PROGMEM = + {'0','1','2','3', + '4','5','6','7', + '8','9','A','B', + 'C','D','E','F'}; + +char hexdigit_tab_uc_P[] PROGMEM = + {'0','1','2','3', + '4','5','6','7', + '8','9','A','B', + 'C','D','E','F'}; + + +char hexdigit_tab_lc_P[] PROGMEM = + {'0','1','2','3', + '4','5','6','7', + '8','9','a','b', + 'c','d','e','f'}; + + + + + -- 2.39.5