2020-08-25 11:23:25 +00:00
|
|
|
#ifndef COSMOPOLITAN_TOOL_BUILD_LIB_STRING_H_
|
|
|
|
#define COSMOPOLITAN_TOOL_BUILD_LIB_STRING_H_
|
|
|
|
#include "tool/build/lib/machine.h"
|
|
|
|
|
|
|
|
#define STRING_CMPS 0
|
|
|
|
#define STRING_MOVS 1
|
|
|
|
#define STRING_STOS 2
|
|
|
|
#define STRING_LODS 3
|
|
|
|
#define STRING_SCAS 4
|
|
|
|
#define STRING_OUTS 5
|
|
|
|
#define STRING_INS 6
|
|
|
|
|
|
|
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
|
|
|
COSMOPOLITAN_C_START_
|
|
|
|
|
2020-08-27 06:08:08 +00:00
|
|
|
void OpString(struct Machine *, uint32_t, int);
|
|
|
|
void OpMovsb(struct Machine *, uint32_t);
|
|
|
|
void OpStosb(struct Machine *, uint32_t);
|
2020-08-25 11:23:25 +00:00
|
|
|
|
|
|
|
COSMOPOLITAN_C_END_
|
|
|
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
|
|
|
#endif /* COSMOPOLITAN_TOOL_BUILD_LIB_STRING_H_ */
|