Operating Systems/OS_Assg2_pipes-main/myexpos/xsm/registers.c
char *registers_get_string(const char *name)
{
    xsm_word *reg = registers_get_register(name);

    if (!reg)
        return NULL;

    return word_get_string(reg);
}
/* Returns the string value stored in the given register */
Returns the string value stored in the given register
Returns the string value stored in the given register
char *registers_get_string(const char *name)
{
    xsm_word *reg = registers_get_register(name);
    if (!reg)
        return NULL;
    return word_get_string(reg);
}
char * registers_get_string ( const char * name ) { xsm_word * reg = registers_get_register ( name ) ; if ( ! reg ) return NULL ; return word_get_string ( reg ) ; }
Returns the string value stored in the given register
Returns the string value stored in the given register