#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <stdlib.h>
#include <ctype.h>
#include "word.h"
#include "cerr.h"
Go to the source code of this file.
◆ addcerrlist_word()
      
        
          | void addcerrlist_word | ( |  | ) |  | 
      
 
wordデータ型についてのエラーをエラーリストに追加する 
- Returns
- なし 
Definition at line 77 of file word.c.
 
 
◆ h2word()
      
        
          | WORD h2word | ( | const char * | str | ) |  | 
      
 
16進数の文字列をWORD値に変換する 
- Returns
- WORD値
- Parameters
- 
  
  
Definition at line 47 of file word.c.
 
 
◆ n2word()
      
        
          | WORD n2word | ( | const char * | str | ) |  | 
      
 
10進数値を表す文字列をWORD値に変換する 
- Returns
- WORD値
- Parameters
- 
  
  
Definition at line 28 of file word.c.
 
 
◆ nh2word()
      
        
          | WORD nh2word | ( | const char * | str | ) |  | 
      
 
10進数または16進数の文字列をWORD値に変換する 
- Returns
- WORD値
- Parameters
- 
  
  
Definition at line 82 of file word.c.
 
 
◆ print_dumpword()
      
        
          | void print_dumpword | ( | WORD | word, | 
        
          |  |  | bool | logicalmode | 
        
          |  | ) |  |  | 
      
 
WORD値を解析して表示する 
- Returns
- なし
- Parameters
- 
  
    | word | WORD値 |  | logicalmode | 論理演算の場合はtrue、算術演算の場合はfalse |  
 
Definition at line 137 of file word.c.
 
 
◆ word2bit()
      
        
          | char* word2bit | ( | const WORD | word | ) |  | 
      
 
WORD値を2進数の文字列に変換する 
- Returns
- 2進数値を表す文字列
- Parameters
- 
  
  
Definition at line 120 of file word.c.
 
 
◆ word2n()
      
        
          | char* word2n | ( | WORD | word | ) |  | 
      
 
WORD値を10進数値を表す文字列に変換する 
- Returns
- 10進数値を表す文字列
- Parameters
- 
  
  
Definition at line 102 of file word.c.
 
 
◆ cerr_word
Initial value:= {
    { 114, "not integer" },
    { 115, "not hex" },
    { 116, "out of hex range" },
}
wordのエラー定義 
Definition at line 70 of file word.c.