Function customasm::assemble_str_to_binary
source ยท pub fn assemble_str_to_binary(src: &str) -> (Option<Vec<u8>>, Report)
Expand description
Convenience function to assemble a given string.
The code cannot access external files through
#include
or incbin()
.
Returns the generated bytes of the assembled binary if successful, together with the report containing any errors or warnings that were encountered.