Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Specy/s68k
/ functions
Functions
477 in github.com/Specy/s68k
⨍
Functions
477
◇
Types & classes
104
↓ 76 callers
Method
push
(&mut self, data: &MemoryCell, mut sp: usize)
src/interpreter.rs:116
↓ 47 callers
Function
getInt32Memory0
()
pkg/s68k_bg.js:66
↓ 45 callers
Function
getObject
(idx)
pkg/s68k_bg.js:7
↓ 45 callers
Method
get_operand_value
(&mut self, op: &Operand, size: Size, used: Used)
src/interpreter.rs:1773
↓ 42 callers
Method
get_size
(&self, size: &LexedSize, default: Size)
src/compiler.rs:555
↓ 38 callers
Method
verify_size
(&mut self, rule: SizeRules, line: &ParsedLine)
src/semantic_checker.rs:828
↓ 35 callers
Method
get_word
(&self)
src/interpreter.rs:87
↓ 33 callers
Method
get_flag
(&self, flag: Flags)
src/interpreter.rs:1998
↓ 28 callers
Method
get_long
(&self)
src/interpreter.rs:80
↓ 27 callers
Function
addHeapObject
(obj)
pkg/s68k_bg.js:23
↓ 27 callers
Method
set_register_value
(&mut self, register: RegisterOperand, value: u32, size: Size)
src/interpreter.rs:1406
↓ 26 callers
Method
get_register_value
(&self, register: RegisterOperand, size: Size)
src/interpreter.rs:1398
↓ 25 callers
Method
extract_register
(&self, operand: Operand)
src/compiler.rs:575
↓ 24 callers
Method
store_operand_value
( &mut self, op: &Operand, value: u32, size: Size, used: Used, )
src/interpreter.rs:1850
↓ 23 callers
Method
answer_interrupt
(&mut self, interrupt_result: InterruptResult)
src/interpreter.rs:658
↓ 21 callers
Method
set_flag
(&mut self, flag: Flags, value: bool)
src/interpreter.rs:2001
↓ 19 callers
Function
takeObject
(idx)
pkg/s68k_bg.js:17
↓ 19 callers
Method
verify_two_args
( &mut self, args: &[LexedOperand], rule1: Rules, rule2: Rules, line:
src/semantic_checker.rs:697
↓ 15 callers
Method
set_logic_flags
(&mut self, value: u32, size: Size)
src/interpreter.rs:2004
↓ 14 callers
Function
sign_extend_to_long
(value: u32, from: Size)
src/math.rs:61
↓ 14 callers
Method
verify_one_arg
(&mut self, args: &[LexedOperand], rule: Rules, line: &ParsedLine)
src/semantic_checker.rs:716
↓ 13 callers
Method
set_compare_flags
(&mut self, value: u32, size: Size, carry: bool, overflow: bool)
src/interpreter.rs:2022
↓ 12 callers
Function
get_sign
(value: u32, size: Size)
src/math.rs:11
↓ 12 callers
Method
to_bytes
(&self, default: LexedSize)
src/lexer.rs:39
↓ 11 callers
Method
extract_immediate
(&self, operand: &Operand)
src/compiler.rs:567
↓ 11 callers
Method
set_memory_value
( &mut self, address: usize, size: Size, value: u32, )
src/interpreter.rs:1430
↓ 10 callers
Method
__wrap
(ptr)
pkg/s68k_bg.js:272
↓ 10 callers
Method
add_mutation
(&mut self, mutation: MutationOperation)
src/debugger.rs:56
↓ 10 callers
Method
get_sp
(&self)
src/interpreter.rs:727
↓ 10 callers
Function
get_value_sized
(value: u32, size: Size)
src/math.rs:69
↓ 10 callers
Method
wasm_answer_interrupt
(&mut self, value: JsValue)
src/interpreter.rs:2244
↓ 9 callers
Method
get_a_reg_sized
(&self, reg: u8, size: Size)
src/interpreter.rs:1758
↓ 9 callers
Method
get_opt
(&self, options: GrammarOptions)
src/lexer.rs:244
↓ 9 callers
Function
overflowing_sub_sized
(op1: u32, op2: u32, size: Size)
src/math.rs:30
↓ 9 callers
Method
pop
(&mut self, size: Size, mut sp: usize)
src/interpreter.rs:137
↓ 9 callers
Method
read_size
(&self, address: usize, size: Size)
src/interpreter.rs:175
↓ 8 callers
Method
parse_absolute
(&self, num: &str)
src/compiler.rs:782
↓ 7 callers
Function
has_sub_overflowed
(op1: u32, op2: u32, result: u32, size: Size)
src/math.rs:84
↓ 7 callers
Function
overflowing_add_sized
(op1: u32, op2: u32, size: Size)
src/math.rs:16
↓ 7 callers
Method
set_sp
(&mut self, sp: usize)
src/interpreter.rs:731
↓ 7 callers
Method
set_status
(&mut self, status: InterpreterStatus)
src/interpreter.rs:519
↓ 7 callers
Function
updateMemoryTable
()
web/src/index.ts:228
↓ 7 callers
Method
verify_size_if_immediate
( &mut self, args: &[LexedOperand], line: &ParsedLine, size: &LexedSize,
src/semantic_checker.rs:727
↓ 6 callers
Method
apply_equ_to_expression_string
( &self, mut expression: String, equ_map: &Vec<(String, String)>, )
src/lexer.rs:720
↓ 6 callers
Function
getStringFromWasm0
(ptr, len)
pkg/s68k_bg.js:47
↓ 6 callers
Method
get_absolute_value
(&self, num: &str)
src/semantic_checker.rs:1013
↓ 6 callers
Method
get_byte
(&self)
src/interpreter.rs:94
↓ 6 callers
Method
get_operand_address
(&mut self, op: &Operand)
src/interpreter.rs:1820
↓ 6 callers
Function
parse_absolute_expression
( str: &str, labels: &HashMap<String, Label>, )
src/utils.rs:195
↓ 6 callers
Method
step
(&mut self)
src/interpreter.rs:550
↓ 6 callers
Method
verify_address
(&self, address: usize, size: Size)
src/interpreter.rs:217
↓ 5 callers
Method
create_interpreter
( &self, pre_processed_program: Compiler, options: Option<InterpreterOptions>, )
src/lib.rs:48
↓ 5 callers
Method
extract_address
(&self, operand: &Operand)
src/compiler.rs:583
↓ 5 callers
Function
getUint8Memory0
()
pkg/s68k_bg.js:40
↓ 5 callers
Method
get_current_interrupt
(&self)
src/interpreter.rs:742
↓ 5 callers
Method
get_instruction_at
(&self, address: usize)
src/interpreter.rs:735
↓ 5 callers
Method
get_pc
(&self)
src/interpreter.rs:511
↓ 5 callers
Function
handleError
(f, args)
pkg/s68k_bg.js:229
↓ 5 callers
Method
has_terminated
(&self)
src/interpreter.rs:540
↓ 5 callers
Function
lex_and_run
(code: &str)
src/test/test.rs:201
↓ 5 callers
Function
passStringToWasm0
(arg, malloc, realloc)
pkg/s68k_bg.js:92
↓ 5 callers
Method
read_long
(&self, address: usize)
src/interpreter.rs:156
↓ 5 callers
Method
to_bytes_word_default
(&self)
src/lexer.rs:48
↓ 5 callers
Function
updateRegisters
(values: number[])
web/src/index.ts:299
↓ 5 callers
Method
verify_arg_rule
( &mut self, arg: &LexedOperand, rule: Rules, line: &ParsedLine, arg_p
src/semantic_checker.rs:790
↓ 4 callers
Method
affects_memory
(&self)
src/lexer.rs:85
↓ 4 callers
Function
appendError
(error: string)
web/src/index.ts:70
↓ 4 callers
Method
compile
(&self)
src/lib.rs:39
↓ 4 callers
Method
debug_status
(&self)
src/interpreter.rs:1374
↓ 4 callers
Function
disableButtons
(value: boolean)
web/src/index.ts:77
↓ 4 callers
Function
disableExecution
(value: boolean)
web/src/index.ts:83
↓ 4 callers
Method
get_condition_value
(&self, cond: &Condition)
src/interpreter.rs:2043
↓ 4 callers
Method
get_immediate_value
(&self, num: &str)
src/semantic_checker.rs:1010
↓ 4 callers
Method
get_regex
(&self)
src/lexer.rs:204
↓ 4 callers
Method
get_status
(&self)
src/interpreter.rs:61
↓ 4 callers
Method
limit_bit_size
Some instructions limit inputs to 8 bits if the destination is not a register. */
src/interpreter.rs:1752
↓ 4 callers
Method
read_byte
(&self, address: usize)
src/interpreter.rs:169
↓ 4 callers
Method
read_bytes
(&self, address: usize, length: usize)
src/interpreter.rs:245
↓ 4 callers
Method
run
(&mut self)
src/interpreter.rs:1928
↓ 4 callers
Method
semantic_check
(&self)
src/lib.rs:35
↓ 4 callers
Method
set_a_reg_sized
(&mut self, reg: u8, value: u32, size: Size)
src/interpreter.rs:1761
↓ 4 callers
Method
set_bit_test_flags
(&mut self, value: u32, bitnum: u32, size: Size)
src/interpreter.rs:2017
↓ 4 callers
Method
split_into_separated_args
(&self, line: &str, ignore_space: bool)
src/lexer.rs:367
↓ 4 callers
Method
store_long
(&mut self, data: u32)
src/interpreter.rs:277
↓ 4 callers
Method
verify_value_bounds_if_immediate
( &mut self, args: &[LexedOperand], arg_position: usize, line: &ParsedLine,
src/semantic_checker.rs:765
↓ 4 callers
Method
wasm_get_a_regs_value
* @returns {Uint32Array}
pkg/s68k_bg.js:317
↓ 4 callers
Method
wasm_get_cpu_snapshot
(&self)
src/interpreter.rs:2100
↓ 4 callers
Method
wasm_get_d_regs_value
* @returns {Uint32Array}
pkg/s68k_bg.js:301
↓ 4 callers
Method
write_bytes
(&mut self, address: usize, bytes: &[u8])
src/interpreter.rs:240
↓ 3 callers
Function
getArrayU8FromWasm0
(ptr, len)
pkg/s68k_bg.js:195
↓ 3 callers
Method
get_register_values
(&self)
src/interpreter.rs:351
↓ 3 callers
Function
get_sign_mask
(value: u32, size: Size)
src/math.rs:3
↓ 3 callers
Method
get_size
(&self, size: Size)
src/interpreter.rs:296
↓ 3 callers
Function
handle_interrupt
(interpreter: &mut Interpreter, interrupt: &Interrupt)
src/main.rs:171
↓ 3 callers
Function
has_add_overflowed
(op1: u32, op2: u32, result: u32, size: Size)
src/math.rs:77
↓ 3 callers
Method
has_reached_bottom
(&self)
src/interpreter.rs:546
↓ 3 callers
Function
isLikeNone
(x)
pkg/s68k_bg.js:51
↓ 3 callers
Method
parse_operand
(&self, operand: &String)
src/lexer.rs:525
↓ 3 callers
Method
parse_operands
(&self, operands: Vec<String>)
src/lexer.rs:522
↓ 3 callers
Method
parse_register
( &mut self, register_type: &LexedRegisterType, register_name: &String, )
src/compiler.rs:619
next →
1–100 of 477, ranked by callers