Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ClementNerma/LRVM
/ functions
Functions
302 in github.com/ClementNerma/LRVM
⨍
Functions
302
◇
Types & classes
54
Method
code
Get the code of the 'IF2' condition
lrvm_tools/src/asm/cond.rs:28
Method
count
Count the number of connected compoents
lrvm/src/board/hw_bridge.rs:37
Method
create_from_aux
Create the cache from an auxiliary component
lrvm/src/board/hw_bridge.rs:123
Method
decode
(bytes: [u8; 4])
lrvm_tools/src/asm/prog_word.rs:11
Method
decode
Decode an hardware information code from its number
lrvm_tools/src/asm/hw_infos.rs:29
Method
decode
Disassemble a machine code into a program. In case of error, returns a tuple containing the faulty instruction's index along with the decoding error.
lrvm_tools/src/asm/prog.rs:68
Method
decode
Try to decode an assembly instruction
lrvm_tools/src/asm/instr.rs:43
Method
decode
Decode an 'IF2' condition
lrvm_tools/src/asm/cond.rs:14
Method
decode
Decode an arithmetic flag from its code
lrvm_tools/src/asm/arflag.rs:17
Method
decode
(sub_mode: u8)
lrvm_tools/src/asm/div_modes.rs:54
Method
decode
Decode a native exception
lrvm_tools/src/exceptions/native.rs:29
Method
decode
Decode an auxiliary component's exception
lrvm_tools/src/exceptions/auxhw.rs:39
Method
decode
(code: u64)
lrvm_tools/src/metadata/category.rs:22
Method
decode_parts
Decode a split exception
lrvm_tools/src/exceptions/native.rs:46
Method
decode_parts
Decode an auxiliary component's exception from its code and data
lrvm_tools/src/exceptions/auxhw.rs:47
Method
decode_with_mode
Decode a native exception along with the supervisor status. If the error is indicated to have happened in supervisor mode, the second member of the re
lrvm_tools/src/exceptions/native.rs:36
Method
decode_word
(&self, word: u32)
lrvm_tools/src/asm/prog_word.rs:18
Function
decoding
()
lrvm_tools/src/tests/asm.rs:40
Method
default
()
lrvm_tools/src/asm/div_modes.rs:78
Method
default
()
lrvm_tools/src/debug/run_config.rs:94
Function
disassemble
Disassemble a machine code to LASM source code May fail because Program::decode() may fail if for instance there is raw data in the assembled program
lrvm_tools/src/lasm/mod.rs:58
Function
disassemble_words
Disassemble a machine code (encoded with words) to LASM source code May fail because Program::decode() may fail if for instance there is raw data in t
lrvm_tools/src/lasm/mod.rs:67
Method
drop
(&mut self)
examples/async_hw/src/counter.rs:108
Method
drop
Drop the motherboard
lrvm/src/board/board.rs:67
Method
encode
Convert the extended instruction into machine code
lrvm_tools/src/asm/extinstr.rs:74
Method
encode
(&self)
lrvm_tools/src/asm/prog_word.rs:30
Method
encode
(self)
lrvm_tools/src/metadata/category.rs:66
Method
encode_with_mode
Encode the exception with supervisor informations on 32-bits. `was_sv` indicates if the error occurred in supervisor mode (else it was on userland mod
lrvm_tools/src/exceptions/native.rs:132
Method
encode_word
(&self)
lrvm_tools/src/asm/prog_word.rs:37
Method
encode_words
Convert the extended instruction into machine code (split in words)
lrvm_tools/src/asm/extinstr.rs:69
Method
encode_words
Encode the progrma as a list of words
lrvm_tools/src/asm/prog.rs:124
Function
encoding
()
lrvm_tools/src/tests/asm.rs:35
Function
flash_mem
()
lrvm_aux/src/tests/aux_01_storage/flash.rs:9
Method
fmt
(&self, f: &mut fmt::Formatter)
lrvm_tools/src/asm/instr.rs:625
Method
fmt
(&self, f: &mut fmt::Formatter)
lrvm_tools/src/asm/reg.rs:230
Method
fmt
(&self, f: &mut fmt::Formatter)
lrvm_tools/src/exceptions/native.rs:138
Method
fmt
(&self, f: &mut fmt::Formatter)
lrvm_tools/src/exceptions/auxhw.rs:117
Method
fmt
(&self, f: &mut fmt::Formatter)
lrvm_tools/src/debug/run.rs:137
Method
fmt
(&self, f: &mut fmt::Formatter)
lrvm_tools/src/metadata/category.rs:72
Method
from
Create a new RAM component from the provided storage Returns an error message if the capacity is too large for the running CPU architecture.
lrvm_aux/src/volatile_mem/ram.rs:41
Method
from
Create a new flash memory component from the provided storage Returns an error message if the capacity is too large for the running CPU architecture.
lrvm_aux/src/storage/persistent.rs:41
Method
from
(lit: u8)
lrvm_tools/src/asm/val.rs:111
Method
from
(info: HwInfo)
lrvm_tools/src/asm/hw_infos.rs:112
Method
from
Create a program from a set of program words
lrvm_tools/src/asm/prog.rs:17
Method
from
(instr: Instr)
lrvm_tools/src/asm/instr.rs:619
Method
from
(flag: ArFlag)
lrvm_tools/src/asm/arflag.rs:84
Method
from
(reg: Reg)
lrvm_tools/src/asm/reg.rs:224
Method
from
(mode: DivSignMode)
lrvm_tools/src/asm/div_modes.rs:92
Method
from
(ex: AuxHwException)
lrvm_tools/src/exceptions/auxhw.rs:111
Method
from_code
Decode a register code
lrvm_tools/src/asm/reg.rs:46
Method
from_instr
Create a program from a set of instructions
lrvm_tools/src/asm/prog.rs:22
Method
from_is_signed
(signed: bool)
lrvm_tools/src/asm/div_modes.rs:35
Method
from_mode
Decode the sub mode from a complete mode (e.g. decode the sign mode from the complete 8-bits division mode)
lrvm_tools/src/asm/div_modes.rs:13
Method
from_name
Decode a register from its name
lrvm_tools/src/asm/reg.rs:85
Method
from_sub_modes
Get the division mode from its sub modes
lrvm_tools/src/asm/div_modes.rs:264
Method
from_with_size
Create a new RAM component from the provided storage and with a larger size than its storage Returns an error message in case of fail
lrvm_aux/src/volatile_mem/ram.rs:56
Method
from_with_size
Create a new flash memory component from the provided storage and with a larger size than its storage Returns an error message in case of fail
lrvm_aux/src/storage/persistent.rs:56
Function
gen_aux_id
(name: &'static str)
lrvm_tools/src/ids/mod.rs:3
Method
halt_on_ex
Create a "halt on exception" runner configuration. Prints exceptions and the cycle and instruction address when the VM halts, stops when an exception
lrvm_tools/src/debug/run_config.rs:21
Function
ids
()
lrvm_tools/src/tests/ids.rs:4
Method
is_instr
(&self)
lrvm_tools/src/asm/prog_word.rs:22
Method
is_raw
(&self)
lrvm_tools/src/asm/prog_word.rs:26
Method
is_signed
(self)
lrvm_tools/src/asm/div_modes.rs:43
Function
lasm_test
()
lrvm_tools/src/tests/lasm.rs:6
Function
main
()
examples/disassemble/src/main.rs:30
Function
main
()
examples/minimal/src/main.rs:5
Function
main
()
examples/elapsed_time/src/main.rs:24
Function
main
()
examples/benchmark/src/main.rs:7
Function
main
()
examples/hw_detect/src/main.rs:99
Function
main
()
examples/async_hw/src/main.rs:11
Function
main
()
examples/brainfuck/src/main.rs:11
Function
main
()
examples/hello_world/src/main.rs:8
Method
map_abs
Map an auxiliary component to a specific address range NOTE: The address range cannot be higher than the component's [`Bus::size`] value.
lrvm/src/mem/mem.rs:30
Method
mbo_mode
Get the overflow mode
lrvm_tools/src/asm/div_modes.rs:283
Method
metadata
The component's metadata, giving informations on what the component is
examples/async_hw/src/counter.rs:53
Method
metadata
(&self)
lrvm_aux/src/display/number.rs:74
Method
metadata
(&self)
lrvm_aux/src/display/buffered.rs:87
Method
metadata
(&self)
lrvm_aux/src/display/character.rs:43
Method
metadata
(&self)
lrvm_aux/src/volatile_mem/ram.rs:103
Method
metadata
(&self)
lrvm_aux/src/storage/persistent.rs:103
Method
metadata
(&self)
lrvm_aux/src/storage/bootrom.rs:83
Method
metadata
(&self)
lrvm_aux/src/time/realtime.rs:41
Method
metadata
(&self)
lrvm_aux/src/keyboard/sync_char.rs:44
Method
metadata
(&self)
lrvm_aux/src/keyboard/sync_line.rs:67
Method
metadata_of
Get the metadata of an axuiliary component from its ID
lrvm/src/board/hw_bridge.rs:52
Method
name
The component's name
examples/async_hw/src/counter.rs:48
Method
name
(&self)
lrvm_aux/src/display/number.rs:70
Method
name
(&self)
lrvm_aux/src/display/buffered.rs:83
Method
name
(&self)
lrvm_aux/src/display/character.rs:39
Method
name
(&self)
lrvm_aux/src/volatile_mem/ram.rs:99
Method
name
(&self)
lrvm_aux/src/storage/persistent.rs:99
Method
name
(&self)
lrvm_aux/src/storage/bootrom.rs:79
Method
name
(&self)
lrvm_aux/src/storage/file_backed.rs:93
Method
name
(&self)
lrvm_aux/src/debug/basic.rs:114
Method
name
(&self)
lrvm_aux/src/time/realtime.rs:37
Method
name
(&self)
lrvm_aux/src/keyboard/sync_char.rs:40
Method
name
(&self)
lrvm_aux/src/keyboard/sync_line.rs:63
Method
name
Get the name of the 'IF2' condition
lrvm_tools/src/asm/cond.rs:41
Method
name
Get the arithmetic flag's name
lrvm_tools/src/asm/arflag.rs:44
Method
new
(hw_id: u64)
examples/async_hw/src/counter.rs:27
← previous
next →
101–200 of 302, ranked by callers