1 (**************************************************************************)
4 (* ||A|| A project by Andrea Asperti *)
6 (* ||I|| Developers: *)
7 (* ||T|| The HELM team. *)
8 (* ||A|| http://helm.cs.unibo.it *)
10 (* \ / This file is distributed under the terms of the *)
11 (* v GNU General Public License Version 2 *)
13 (**************************************************************************)
15 (* ********************************************************************** *)
16 (* Progetto FreeScale *)
18 (* Sviluppato da: Ing. Cosimo Oliboni, oliboni@cs.unibo.it *)
19 (* Sviluppo: 2008-2010 *)
21 (* ********************************************************************** *)
23 include "emulator/opcodes/opcode.ma".
24 include "emulator/opcodes/RS08_table.ma".
26 (* ***************** *)
27 (* TABELLA DELL'RS08 *)
28 (* ***************** *)
30 (* RS08: opcode non implementati come da manuale *)
31 ndefinition RS08_not_impl_byte ≝
32 [〈x3,x2〉;〈x3,x3〉;〈x3,xD〉
33 ;〈x4,x0〉;〈x4,x7〉;〈x4,xD〉
34 ;〈xA,x3〉;〈xA,x5〉;〈xA,x7〉
38 (* test bytecode non implementati *)
39 (* !!! per brevita... *)
40 (*nlemma ok_byte_table_RS08 : forall_b8 (λb.
41 (test_not_impl_byte b RS08_not_impl_byte ⊙ eq_w16 (get_byte_count RS08 b 〈〈x0,x0〉:〈x0,x0〉〉 opcode_table_RS08) 〈〈x0,x0〉:〈x0,x1〉〉) ⊗
42 (⊖ (test_not_impl_byte b RS08_not_impl_byte) ⊙ eq_w16 (get_byte_count RS08 b 〈〈x0,x0〉:〈x0,x0〉〉 opcode_table_RS08) 〈〈x0,x0〉:〈x0,x0〉〉))
47 (* tutti op implementati *)
48 (* !!! per brevita... *)
49 (*nlemma ok_pseudo_table_RS08 :
51 le_w16 〈〈x0,x0〉:〈x0,x1〉〉 (get_pseudo_count RS08 o 〈〈x0,x0〉:〈x0,x0〉〉 opcode_table_RS08)) = true.
55 (* tutte im implementate *)
56 (* !!! per brevita... *)
57 (*nlemma ok_mode_table_RS08 :
59 le_w16 〈〈x0,x0〉:〈x0,x1〉〉 (get_mode_count RS08 i 〈〈x0,x0〉:〈x0,x0〉〉 opcode_table_RS08)) = true.
63 (* nessuna ripetizione di combinazione op + imm *)
64 (* !!! per brevita... *)
65 (*nlemma ok_OpIm_table_RS08 :
68 le_w16 (get_OpIm_count RS08 o i 〈〈x0,x0〉:〈x0,x0〉〉 opcode_table_RS08) 〈〈x0,x0〉:〈x0,x1〉〉)) = true.