PZ80emu  0.1
Functions
rotate.h File Reference
#include <stdint.h>
#include "z80.h"
Include dependency graph for rotate.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

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

Detailed Description

Author
Peter H. Ezetta

Function Documentation

◆ _rlc()

__BEGIN_DECLS 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