-/* wordのエラー定義 */
-CERRARRAY cerr_word[] = {
- { 114, "not integer" },
- { 115, "not hex" },
- { 116, "out of hex range" },
-};
-bool addcerrlist_word()
-{
- return addcerrlist(ARRAYSIZE(cerr_word), cerr_word);
-}
+/**
+ * @brief 10進数値を表す文字列をWORD値に変換する
+ *
+ * @return WORD値
+ *
+ * @param *str 10進数値を表す文字列
+ */
+WORD n2word(const char *str);
+
+/**
+ * @brief 16進数の文字列をWORD値に変換する
+ *
+ * @return WORD値
+ *
+ * @param *str 16進数値を表す文字列
+ */
+WORD h2word(const char *str);