[Coco] 6809 Opcode informations...
Jens
CoCoList at jensdiemer.de
Sun Oct 20 08:32:37 EDT 2013
Am 20.10.2013 11:07, schrieb Jens:
> Seems that i must collect the needed informations by hand?
I merge the information i currently have, with this script:
https://github.com/jedie/DragonPy/blob/master/MC6809data/MC6809_data2.py
The result is this:
https://github.com/jedie/DragonPy/blob/master/MC6809data/MC6809_data_raw2.py
It looks like this:
OP_DATA = {ABX: {'HNZVC': '-----',
'condition code': 'Not affected.',
'description': 'Add the 8-bit uns... into index register X.',
'instr_desc': 'Add B accumulator to X (unsigned)',
'mnemonic': {ABX: {'desc': 'X = B+X (Unsigned)',
'operand': None,
'ops': {0x3a: {'addr_mode': INHERENT,
'bytes': 1,
'cycles': 3}},
'read_from_memory': None,
'write_to_memory': None}},
'operation': "IX' = IX + ACCB",
'source form': ABX},
ADC: {'HNZVC': 'aaaaa',
'condition code': 'H - Set if a half...mulator.',
'instr_desc': 'Add memory to accumulator with carry',
'mnemonic': {'ADCA': {'desc': 'A = A+M+C',
'operand': REG_A,
'ops': {0x89: {'addr_mode': IMMEDIATE,
'bytes': 2,
'cycles': 2},
0x99: {'addr_mode': DIRECT,
'bytes': 2,
'cycles': 4},
0xa9: {'addr_mode': INDEXED,
'bytes': 2,
'cycles': 4},
0xb9: {'addr_mode': EXTENDED,
'bytes': 3,
'cycles': 5}},
'read_from_memory': BYTE,
'write_to_memory': None},
'ADCB': {'desc': 'B = B+M+C',
...
Mfg.
Jens Diemer
More information about the Coco
mailing list