mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 01:29:21 -04:00
This adds an assembler for the BitScrambler assembly language, plus unit tests for it. It also adds the loopback driver, which can do BitScrambler operations on memory-to-memory transfers. Documentation is also included.
14 lines
319 B
Plaintext
14 lines
319 B
Plaintext
#Example bitscrambler program. Does nothing but forward all bytes.
|
|
|
|
cfg trailing_bytes 0 #End program as soon as the input EOFs.
|
|
cfg prefetch true #We expect M0/M1 to be filled
|
|
cfg lut_width_bits 8 #Not really applicable here
|
|
|
|
loop:
|
|
set 0..15 0..15,
|
|
set 16..23 H,
|
|
set 24..31 L,
|
|
write 32,
|
|
read 32,
|
|
jmp loop
|