mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-02 16:04:59 +00:00
26 lines
355 B
C++
26 lines
355 B
C++
//
|
|
// RegisterSizes.hpp
|
|
// Clock Signal
|
|
//
|
|
// Created by Thomas Harte on 14/05/2017.
|
|
// Copyright © 2017 Thomas Harte. All rights reserved.
|
|
//
|
|
|
|
#ifndef RegisterSizes_hpp
|
|
#define RegisterSizes_hpp
|
|
|
|
#include <cstdint>
|
|
|
|
namespace CPU {
|
|
|
|
union RegisterPair {
|
|
uint16_t full;
|
|
struct {
|
|
uint8_t low, high;
|
|
} bytes;
|
|
};
|
|
|
|
}
|
|
|
|
#endif /* RegisterSizes_hpp */
|