PZ80emu  0.1
Functions
rotate.c File Reference
#include "rotate.h"
#include "utils.h"
Include dependency graph for rotate.c:

Functions

void _rlc (uint8_t n, struct z80 *cpu)
 8-bit rotation to the left More...
 
void _rrca (struct z80 *cpu)
 register A 8-bit right rotate with carry More...
 

Detailed Description

Author
Peter H. Ezetta

Function Documentation

◆ _rlc()

void _rlc ( uint8_t  n,
struct z80 cpu 
)

8-bit rotation to the left

Parameters
n
cpuz80 CPU object
Bug:
not rotating into the C flag

◆ _rrca()

void _rrca ( struct z80 cpu)

register A 8-bit right rotate with carry

Parameters
cpuz80 CPU object