You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It could sometimes be convenient (and possibly allow more descriptive source code) if .wrap would optionally accept the same target expressions as jmp (with .wrap_target as the default):
Maybe moving WORD value from directive: to base_instruction: in parser.yy could also be convenient (the .word directive basically is an instruction). Could be useful for things like:
.define public UI 5 // unit interval (4-32), in integer .clock_div cycles
.define public PREAMBLE_B_Z 0b00010111 // sub-frame 1 at start of block
// assemble either mov pins, null or mov pins, ~null
.define mov_pins_null 0b1010000000000000
.word (mov_pins_null + (PREAMBLE_B_Z>>4 << 3)) [UI-1]
.word (mov_pins_null + (PREAMBLE_B_Z>>5 << 3)) [UI-1]
.word (mov_pins_null + (PREAMBLE_B_Z>>6 << 3)) [UI-1]
It could sometimes be convenient (and possibly allow more descriptive source code) if
.wrap
would optionally accept the same target expressions asjmp
(with.wrap_target
as the default):E.g.
would be equivalent to
The text was updated successfully, but these errors were encountered: