1-module(beam_opcodes). 2%% Warning: Do not edit this file. It was automatically 3%% generated by 'beam_makeops' on Wed Nov 24 17:52:43 2004. 4 5-export([format_number/0]). 6-export([opcode/2,opname/1]). 7 8format_number() -> 0. 9 10opcode(label, 1) -> 1; 11opcode(func_info, 3) -> 2; 12opcode(int_code_end, 0) -> 3; 13opcode(call, 2) -> 4; 14opcode(call_last, 3) -> 5; 15opcode(call_only, 2) -> 6; 16opcode(call_ext, 2) -> 7; 17opcode(call_ext_last, 3) -> 8; 18opcode(bif0, 2) -> 9; 19opcode(bif1, 4) -> 10; 20opcode(bif2, 5) -> 11; 21opcode(allocate, 2) -> 12; 22opcode(allocate_heap, 3) -> 13; 23opcode(allocate_zero, 2) -> 14; 24opcode(allocate_heap_zero, 3) -> 15; 25opcode(test_heap, 2) -> 16; 26opcode(init, 1) -> 17; 27opcode(deallocate, 1) -> 18; 28opcode(return, 0) -> 19; 29opcode(send, 0) -> 20; 30opcode(remove_message, 0) -> 21; 31opcode(timeout, 0) -> 22; 32opcode(loop_rec, 2) -> 23; 33opcode(loop_rec_end, 1) -> 24; 34opcode(wait, 1) -> 25; 35opcode(wait_timeout, 2) -> 26; 36opcode(m_plus, 4) -> 27; 37opcode(m_minus, 4) -> 28; 38opcode(m_times, 4) -> 29; 39opcode(m_div, 4) -> 30; 40opcode(int_div, 4) -> 31; 41opcode(int_rem, 4) -> 32; 42opcode(int_band, 4) -> 33; 43opcode(int_bor, 4) -> 34; 44opcode(int_bxor, 4) -> 35; 45opcode(int_bsl, 4) -> 36; 46opcode(int_bsr, 4) -> 37; 47opcode(int_bnot, 3) -> 38; 48opcode(is_lt, 3) -> 39; 49opcode(is_ge, 3) -> 40; 50opcode(is_eq, 3) -> 41; 51opcode(is_ne, 3) -> 42; 52opcode(is_eq_exact, 3) -> 43; 53opcode(is_ne_exact, 3) -> 44; 54opcode(is_integer, 2) -> 45; 55opcode(is_float, 2) -> 46; 56opcode(is_number, 2) -> 47; 57opcode(is_atom, 2) -> 48; 58opcode(is_pid, 2) -> 49; 59opcode(is_reference, 2) -> 50; 60opcode(is_port, 2) -> 51; 61opcode(is_nil, 2) -> 52; 62opcode(is_binary, 2) -> 53; 63opcode(is_constant, 2) -> 54; 64opcode(is_list, 2) -> 55; 65opcode(is_nonempty_list, 2) -> 56; 66opcode(is_tuple, 2) -> 57; 67opcode(test_arity, 3) -> 58; 68opcode(select_val, 3) -> 59; 69opcode(select_tuple_arity, 3) -> 60; 70opcode(jump, 1) -> 61; 71opcode('catch', 2) -> 62; 72opcode(catch_end, 1) -> 63; 73opcode(move, 2) -> 64; 74opcode(get_list, 3) -> 65; 75opcode(get_tuple_element, 3) -> 66; 76opcode(set_tuple_element, 3) -> 67; 77opcode(put_string, 3) -> 68; 78opcode(put_list, 3) -> 69; 79opcode(put_tuple, 2) -> 70; 80opcode(put, 1) -> 71; 81opcode(badmatch, 1) -> 72; 82opcode(if_end, 0) -> 73; 83opcode(case_end, 1) -> 74; 84opcode(call_fun, 1) -> 75; 85opcode(make_fun, 3) -> 76; 86opcode(is_function, 2) -> 77; 87opcode(call_ext_only, 2) -> 78; 88opcode(bs_start_match, 2) -> 79; 89opcode(bs_get_integer, 5) -> 80; 90opcode(bs_get_float, 5) -> 81; 91opcode(bs_get_binary, 5) -> 82; 92opcode(bs_skip_bits, 4) -> 83; 93opcode(bs_test_tail, 2) -> 84; 94opcode(bs_save, 1) -> 85; 95opcode(bs_restore, 1) -> 86; 96opcode(bs_init, 2) -> 87; 97opcode(bs_final, 2) -> 88; 98opcode(bs_put_integer, 5) -> 89; 99opcode(bs_put_binary, 5) -> 90; 100opcode(bs_put_float, 5) -> 91; 101opcode(bs_put_string, 2) -> 92; 102opcode(bs_need_buf, 1) -> 93; 103opcode(fclearerror, 0) -> 94; 104opcode(fcheckerror, 1) -> 95; 105opcode(fmove, 2) -> 96; 106opcode(fconv, 2) -> 97; 107opcode(fadd, 4) -> 98; 108opcode(fsub, 4) -> 99; 109opcode(fmul, 4) -> 100; 110opcode(fdiv, 4) -> 101; 111opcode(fnegate, 3) -> 102; 112opcode(make_fun2, 1) -> 103; 113opcode('try', 2) -> 104; 114opcode(try_end, 1) -> 105; 115opcode(try_case, 1) -> 106; 116opcode(try_case_end, 1) -> 107; 117opcode(raise, 2) -> 108; 118opcode(bs_init2, 6) -> 109; 119opcode(bs_bits_to_bytes, 3) -> 110; 120opcode(bs_add, 5) -> 111; 121opcode(apply, 1) -> 112; 122opcode(apply_last, 2) -> 113; 123opcode(is_boolean, 2) -> 114; 124opcode(Name, Arity) -> erlang:error(badarg, [Name,Arity]). 125 126opname(1) -> {label,1}; 127opname(2) -> {func_info,3}; 128opname(3) -> {int_code_end,0}; 129opname(4) -> {call,2}; 130opname(5) -> {call_last,3}; 131opname(6) -> {call_only,2}; 132opname(7) -> {call_ext,2}; 133opname(8) -> {call_ext_last,3}; 134opname(9) -> {bif0,2}; 135opname(10) -> {bif1,4}; 136opname(11) -> {bif2,5}; 137opname(12) -> {allocate,2}; 138opname(13) -> {allocate_heap,3}; 139opname(14) -> {allocate_zero,2}; 140opname(15) -> {allocate_heap_zero,3}; 141opname(16) -> {test_heap,2}; 142opname(17) -> {init,1}; 143opname(18) -> {deallocate,1}; 144opname(19) -> {return,0}; 145opname(20) -> {send,0}; 146opname(21) -> {remove_message,0}; 147opname(22) -> {timeout,0}; 148opname(23) -> {loop_rec,2}; 149opname(24) -> {loop_rec_end,1}; 150opname(25) -> {wait,1}; 151opname(26) -> {wait_timeout,2}; 152opname(27) -> {m_plus,4}; 153opname(28) -> {m_minus,4}; 154opname(29) -> {m_times,4}; 155opname(30) -> {m_div,4}; 156opname(31) -> {int_div,4}; 157opname(32) -> {int_rem,4}; 158opname(33) -> {int_band,4}; 159opname(34) -> {int_bor,4}; 160opname(35) -> {int_bxor,4}; 161opname(36) -> {int_bsl,4}; 162opname(37) -> {int_bsr,4}; 163opname(38) -> {int_bnot,3}; 164opname(39) -> {is_lt,3}; 165opname(40) -> {is_ge,3}; 166opname(41) -> {is_eq,3}; 167opname(42) -> {is_ne,3}; 168opname(43) -> {is_eq_exact,3}; 169opname(44) -> {is_ne_exact,3}; 170opname(45) -> {is_integer,2}; 171opname(46) -> {is_float,2}; 172opname(47) -> {is_number,2}; 173opname(48) -> {is_atom,2}; 174opname(49) -> {is_pid,2}; 175opname(50) -> {is_reference,2}; 176opname(51) -> {is_port,2}; 177opname(52) -> {is_nil,2}; 178opname(53) -> {is_binary,2}; 179opname(54) -> {is_constant,2}; 180opname(55) -> {is_list,2}; 181opname(56) -> {is_nonempty_list,2}; 182opname(57) -> {is_tuple,2}; 183opname(58) -> {test_arity,3}; 184opname(59) -> {select_val,3}; 185opname(60) -> {select_tuple_arity,3}; 186opname(61) -> {jump,1}; 187opname(62) -> {'catch',2}; 188opname(63) -> {catch_end,1}; 189opname(64) -> {move,2}; 190opname(65) -> {get_list,3}; 191opname(66) -> {get_tuple_element,3}; 192opname(67) -> {set_tuple_element,3}; 193opname(68) -> {put_string,3}; 194opname(69) -> {put_list,3}; 195opname(70) -> {put_tuple,2}; 196opname(71) -> {put,1}; 197opname(72) -> {badmatch,1}; 198opname(73) -> {if_end,0}; 199opname(74) -> {case_end,1}; 200opname(75) -> {call_fun,1}; 201opname(76) -> {make_fun,3}; 202opname(77) -> {is_function,2}; 203opname(78) -> {call_ext_only,2}; 204opname(79) -> {bs_start_match,2}; 205opname(80) -> {bs_get_integer,5}; 206opname(81) -> {bs_get_float,5}; 207opname(82) -> {bs_get_binary,5}; 208opname(83) -> {bs_skip_bits,4}; 209opname(84) -> {bs_test_tail,2}; 210opname(85) -> {bs_save,1}; 211opname(86) -> {bs_restore,1}; 212opname(87) -> {bs_init,2}; 213opname(88) -> {bs_final,2}; 214opname(89) -> {bs_put_integer,5}; 215opname(90) -> {bs_put_binary,5}; 216opname(91) -> {bs_put_float,5}; 217opname(92) -> {bs_put_string,2}; 218opname(93) -> {bs_need_buf,1}; 219opname(94) -> {fclearerror,0}; 220opname(95) -> {fcheckerror,1}; 221opname(96) -> {fmove,2}; 222opname(97) -> {fconv,2}; 223opname(98) -> {fadd,4}; 224opname(99) -> {fsub,4}; 225opname(100) -> {fmul,4}; 226opname(101) -> {fdiv,4}; 227opname(102) -> {fnegate,3}; 228opname(103) -> {make_fun2,1}; 229opname(104) -> {'try',2}; 230opname(105) -> {try_end,1}; 231opname(106) -> {try_case,1}; 232opname(107) -> {try_case_end,1}; 233opname(108) -> {raise,2}; 234opname(109) -> {bs_init2,6}; 235opname(110) -> {bs_bits_to_bytes,3}; 236opname(111) -> {bs_add,5}; 237opname(112) -> {apply,1}; 238opname(113) -> {apply_last,2}; 239opname(114) -> {is_boolean,2}; 240opname(Number) -> erlang:error(badarg, [Number]). 241