asm/asm.c
static enum Register token_register(struct Token *token) {
    isize i;
    char symbol[256];

    assert(token->kind == TK_SYMBOL);
    assert(token_data(token, symbol, sizeof(symbol)));
    assert((i = strcasetab(R_NAMES, R_COUNT, symbol)) != -1);
    return (enum Register) i;
}
// retrieves register enum of the specified symbol token, assumes
// is_register(token) is true
retrieves register enum of the specified symbol token, assumes
is_register(token) is true
retrieves register enum of the specified symbol token assumes is_register ( token ) is true
static enum Register token_register(struct Token *token) {
    isize i;
    char symbol[256];
    assert(token->kind == TK_SYMBOL);
    assert(token_data(token, symbol, sizeof(symbol)));
    assert((i = strcasetab(R_NAMES, R_COUNT, symbol)) != -1);
    return (enum Register) i;
}
static enum Register token_register ( struct Token * token ) { isize i ; char symbol [ 256 ] ; assert ( token -> kind == TK_SYMBOL ) ; assert ( token_data ( token , symbol , sizeof ( symbol ) ) ) ; assert ( ( i = strcasetab ( R_NAMES , R_COUNT , symbol ) ) != -1 ) ; return ( enum Register ) i ; }
retrieves register enum of the specified symbol token, assumes
is_register(token) is true
retrieves register enum of the specified symbol token assumes is_register ( token ) is true