summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/sm510/kb1013vk1-2op.cpp
blob: 3c5fcc548e7278ca30082ab04c879dbffc51b2b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// license:BSD-3-Clause
// copyright-holders:hap, Igor

// KB1013VK1-2 opcode handlers

#include "kb1013vk1-2.h"


// instruction set

void kb1013vk12_device::op_bs0()
{
	// BS0: reset RAM address high bit
	m_bm &= ~4;
}

void kb1013vk12_device::op_bs1()
{
	// BS1: set RAM address high bit
	m_bm |= 4;
}