Sha256: 3f1a0a0b32fd6c2a8b6a7717990b2a17d57e57db375f3dc8e3f13d5ffd3dc6cf

Contents?: true

Size: 646 Bytes

Versions: 100

Compression:

Stored size: 646 Bytes

Contents

#include "../../../global_headers/headers.h"
#include "x86_instructions.h"
#include "output_short_branch_instruction.h"

u dac_get_length_of_jae_short(void) {
	return 2;
}

void dac_append_jae_short(DataAndCode* cr dac, const schar displacement) {
	assert_comparison(dac, !=, NULL, DataAndCode*, void*);
	
	#if DEBUG
		output_short_branch_instruction(displacement, "jae");
	#endif
	
	ARRAY_INDEX_ASSIGN(ARROW(dac, start_of_code), ARROW(dac, current_instruction_offset)) = (uchar)115;
	ARRAY_INDEX_ASSIGN(ARROW(dac, start_of_code), ARROW(dac, current_instruction_offset + 1)) = displacement;
	ARROW_ASSIGN(dac, current_instruction_offset) += 2;
}

Version data entries

100 entries across 49 versions & 6 rubygems

Version Path
ufos-1.0.94 ./other/old_compiler/shiltiumcomp58/arch/x86/instructions/jae_short.c
ufos-1.0.94 ./other/old_compiler/shiltiumcomp59/arch/x86/instructions/jae_short.c
aliens-1.0.94 ./other/old_compiler/shiltiumcomp59/arch/x86/instructions/jae_short.c
aliens-1.0.94 ./other/old_compiler/shiltiumcomp58/arch/x86/instructions/jae_short.c
freespeech-1.0.94 ./other/old_compiler/shiltiumcomp59/arch/x86/instructions/jae_short.c
freespeech-1.0.94 ./other/old_compiler/shiltiumcomp58/arch/x86/instructions/jae_short.c
elonmusk-1.0.94 ./other/old_compiler/shiltiumcomp58/arch/x86/instructions/jae_short.c
elonmusk-1.0.94 ./other/old_compiler/shiltiumcomp59/arch/x86/instructions/jae_short.c
politics-1.0.94 ./other/old_compiler/shiltiumcomp58/arch/x86/instructions/jae_short.c
politics-1.0.94 ./other/old_compiler/shiltiumcomp59/arch/x86/instructions/jae_short.c
democracy-1.0.94 ./other/old_compiler/shiltiumcomp59/arch/x86/instructions/jae_short.c
democracy-1.0.94 ./other/old_compiler/shiltiumcomp58/arch/x86/instructions/jae_short.c
democracy-1.0.93 ./other/old_compiler/shiltiumcomp58/arch/x86/instructions/jae_short.c
democracy-1.0.93 ./other/old_compiler/shiltiumcomp59/arch/x86/instructions/jae_short.c
ufos-1.0.91 ./other/old_compiler/shiltiumcomp58/arch/x86/instructions/jae_short.c
ufos-1.0.91 ./other/old_compiler/shiltiumcomp59/arch/x86/instructions/jae_short.c
aliens-1.0.91 ./other/old_compiler/shiltiumcomp59/arch/x86/instructions/jae_short.c
aliens-1.0.91 ./other/old_compiler/shiltiumcomp58/arch/x86/instructions/jae_short.c
freespeech-1.0.91 ./other/old_compiler/shiltiumcomp59/arch/x86/instructions/jae_short.c
freespeech-1.0.91 ./other/old_compiler/shiltiumcomp58/arch/x86/instructions/jae_short.c