Turnstone Operating System
Loading...
Searching...
No Matches
compiler_registers.64.c File Reference

compiler registers functions More...

#include <compiler/compiler.h>
#include <logging.h>
#include <strings.h>

Functions

 MODULE ("turnstone.compiler")
 
int8_t compiler_find_free_reg (compiler_t *compiler)
 
char_t compiler_get_reg_suffix (uint8_t size)
 
const char_tcompiler_cast_reg_to_size (const char_t *reg, uint8_t size)
 

Variables

const char_t *const compiler_regs []
 

Detailed Description

compiler registers functions

This work is licensed under TURNSTONE OS Public License. Please read and understand latest version of Licence.

Variable Documentation

◆ compiler_regs

const char_t* const compiler_regs[]
Initial value:
= {
"rax",
"rbx",
"rcx",
"rdx",
"rsi",
"rdi",
"r8",
"r9",
"r10",
"r11",
"r12",
"r13",
"r14",
}