MCPcopy Create free account
hub / github.com/Meridian59/Meridian59 / OutputOpcode

Function OutputOpcode

blakcomp/codeutil.c:36–43  ·  view source on GitHub ↗

/

Source from the content-addressed store, hash-verified

34}
35/************************************************************************/
36void OutputOpcode(FILE *outfile, opcode_type opcode)
37{
38 BYTE datum;
39
40 /* Write out a 1 byte opcode--need to memcpy since opcode is bitfield structure */
41 memcpy(&datum, &opcode, 1);
42 fwrite(&datum, 1, 1, outfile);
43}
44/************************************************************************/
45void OutputByte(FILE *outfile, BYTE datum)
46{

Callers 7

flatten_exprFunction · 0.85
codegen_callFunction · 0.85
codegen_returnFunction · 0.85
codegen_ifFunction · 0.85
codegen_whileFunction · 0.85
codegen_forFunction · 0.85
codegen_statementFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected