/* $Header:inst.h 12.0$ */
/* $ACIS:inst.h 12.0$ */
/* $Source: /ibm/acis/usr/src/lib/c2_ca/RCS/inst.h,v $ */

#if !defined(lint) && !defined(LOCORE)  && defined(RCS_HDRS)
static char *rcsidinst = "$Header:inst.h 12.0$";
#endif

/* dispatch numbers for instructions.  These numbers are placed in
 * the code_i component of each instruction bucket by init.c and are used
 * by ins.c for dispatching.
 */
 
#define i_a     0xe1
#define i_abs   0xe0
#define i_ae    0xf1
#define i_aei   0xd1
#define i_ai    0xc1
#define i_ais   0x90
#define i_bala  0x8a
#define i_balax 0x8b
#define i_bali  0x8c
#define i_balix 0x8d
#define i_balr  0xec
#define i_balrx 0xed
#define i_bb    0x8e
#define i_bbr   0xee
#define i_bbrx  0xef
#define i_bbx   0x8f
#define i_bnb   0x88
#define i_bnbr  0xe8
#define i_bnbrx 0xe9
#define i_bnbx  0x89
#define i_c     0xb4
#define i_cal   0xc8
#define i_cal16 0xc2
#define i_cas   0x60
#define i_cau   0xd8
#define i_ca16  0xf3
#define i_ci    0xd4
#define i_cis   0x94
#define i_cl    0xb3
#define i_cli   0xd3
#define i_clrbl 0x99
#define i_clrbu 0x98
#define i_clrsb 0x95
#define i_clz   0xf5
#define i_d     0xb6
#define i_dec   0x93
#define i_exts  0xb1
#define i_inc   0x91
#define i_ior   0xcb
#define i_iow   0xdb
#define i_jb    0x08
#define i_jnb   0x01
#define i_l     0xcd
#define i_lc    0xce
#define i_lcs   0x40
#define i_lh    0xda
#define i_lha   0xca
#define i_lhas  0x50
#define i_lhs   0xeb
#define i_lis   0xa4
#define i_lm    0xc9
#define i_lps   0xd0
#define i_ls    0x70
#define i_m     0xe6
#define i_mc03  0xf9
#define i_mc13  0xfa
#define i_mc23  0xfb
#define i_mc30  0xfd
#define i_mc31  0xfe
#define i_mc32  0xff
#define i_mc33  0xfc
#define i_mfs   0x96
#define i_mftb  0xbc
#define i_mftbil 0x9d
#define i_mftbiu 0x9c
#define i_mts   0xb5
#define i_mttb  0xbf
#define i_mttbil 0x9f
#define i_mttbiu 0x9e
#define i_n     0xe5
#define i_nilo  0xc6
#define i_nilz  0xc5
#define i_niuo  0xd6
#define i_niuz  0xd5
#define i_o     0xe3
#define i_oil   0xc4
#define i_oiu   0xc3
#define i_onec  0xf4
#define i_s     0xe2
#define i_sar   0xb0
#define i_sari  0xa0
#define i_sari16 0xa1
#define i_se    0xf2
#define i_setbl 0x9b
#define i_setbu 0x9a
#define i_setsb 0x97
#define i_sf    0xb2
#define i_sfi   0xd2
#define i_sis   0x92
#define i_sl    0xba
#define i_sli   0xaa
#define i_sli16 0xab
#define i_slp   0xbb
#define i_slpi  0xae
#define i_slpi16 0xaf
#define i_sr    0xb8
#define i_sri   0xa8
#define i_sri16 0xa9
#define i_srp   0xb9
#define i_srpi  0xac
#define i_srpi16 0xad
#define i_st    0xdd
#define i_stc   0xde
#define i_stcs  0x10
#define i_sth   0xdc
#define i_sths  0x20
#define i_stm   0xd9
#define i_sts   0x30
#define i_svc   0xc0
#define i_tgte  0xbd
#define i_ti    0xcc
#define i_tlt   0xbe
#define i_tsh   0xcf
#define i_twoc  0xe4
#define i_wait  0xf0
#define i_x     0xe7
#define i_xil   0xc7
#define i_xiu   0xd7
 
 
/* extended opcodes */
 
#define i_extendedops  256
 
#define i_mr     259
 
#define i_clrckm 260
#define i_clrim  261
#define i_clrtb  262
#define i_setckm 263
#define i_setim  264
#define i_settb  265
 
#define i_lil    266
#define i_liu    267
 
#define i_mfcks  268
#define i_mfcs   269
#define i_mfia   270
#define i_mfics  271
#define i_mfirb  272
#define i_mfstr  273
#define i_mtcks  274
#define i_mtcs   275
#define i_mtics  276
#define i_mtirb  277
#define i_mtstr  278
 
#define i_b      279
#define i_nop    280
#define i_btb    281
#define i_bntb   282
#define i_bc0    283
#define i_bnc0   284
#define i_bl     285
#define i_bnl    286
#define i_bhe    287
#define i_bm     288
#define i_bnm    289
#define i_bh     290
#define i_bnh    291
#define i_ble    292
#define i_bp     293
#define i_bnp    294
#define i_be     295
#define i_beq    296
#define i_bne    297
#define i_bz     298
#define i_bnz    299
#define i_bo     300
#define i_bno    301
 
#define i_bx     302
#define i_nopx   303
#define i_btbx   304
#define i_bntbx  305
#define i_bc0x   306
#define i_bnc0x  307
#define i_blx    308
#define i_bnlx   309
#define i_bhex   310
#define i_bmx    311
#define i_bnmx   312
#define i_bhx    313
#define i_bnhx   314
#define i_blex   315
#define i_bpx    316
#define i_bnpx   317
#define i_bex    318
#define i_beqx   319
#define i_bnex   320
#define i_bzx    321
#define i_bnzx   322
#define i_box    323
#define i_bnox   324
 
#define i_br     325
#define i_nopr   326
#define i_btbr   327
#define i_bntbr  328
#define i_bc0r   329
#define i_bnc0r  330
#define i_blr    331
#define i_bnlr   332
#define i_bher   333
#define i_bmr    334
#define i_bnmr   335
#define i_bhr    336
#define i_bnhr   337
#define i_bler   338
#define i_bpr    339
#define i_bnpr   340
#define i_ber    341
#define i_beqr   342
#define i_bner   343
#define i_bzr    344
#define i_bnzr   345
#define i_bor    346
#define i_bnor   347
 
#define i_brx    348
#define i_noprx  349
#define i_btbrx  350
#define i_bntbrx 351
#define i_bc0rx  352
#define i_bnc0rx 353
#define i_blrx   354
#define i_bnlrx  355
#define i_bherx  356
#define i_bmrx   357
#define i_bnmrx  358
#define i_bhrx   359
#define i_bnhrx  360
#define i_blerx  361
#define i_bprx   362
#define i_bnprx  363
#define i_berx   364
#define i_beqrx  365
#define i_bnerx  366
#define i_bzrx   367
#define i_bnzrx  368
#define i_borx   369
#define i_bnorx  370
 
#define i_j      371
#define i_jnop   372
#define i_jtb    373
#define i_jntb   374
#define i_jc0    375
#define i_jnc0   376
#define i_jl     377
#define i_jnl    378
#define i_jhe    379
#define i_jm     380
#define i_jnm    381
#define i_jh     382
#define i_jnh    383
#define i_jle    384
#define i_jp     385
#define i_jnp    386
#define i_je     387
#define i_jeq    388
#define i_jne    389
#define i_jz     390
#define i_jnz    391
#define i_jo     392
#define i_jno    393
 
#define i_tlti   394
#define i_tnei   395
#define i_tgti   396
#define i_teqi   397
#define i_tilt   398
 
#define i_get    400
#define i_getc   401
#define i_geth   402
#define i_getha  403
#define i_put    404
#define i_putc   405
#define i_puth   406
#define i_putha  407
#define i_compli 408
 
/* special extended ops */
#define i_shl    430
#define i_shr    431
#define i_shla   432
#define i_shra   433
#define i_sra    434
#define i_sla    435
#define i_loadi  436
#define i_addi   437
/* #define i_subi   438 */
#define i_si     438
#define i_compi  439
#define i_ni     440
#define i_oi     441
#define i_xi     442
 
#define i_load	  450
#define i_loadc	  451
#define i_loadh	  452
#define i_loadha  453
#define i_store	  455
#define i_storec  456
#define i_storeh  457
#define i_storeha 458
