https://github.com/z00m128/sjasmplus...es/tag/v1.17.0
- STRUCT has new TEXT pseudo-instruction to define "DB-like" data
- STRUCT initializer block can be now multi-line (when correctly enclosed in curly braces)
- EQU now allows for optional override of page number assigned to the new symbol
- new $$$ and $$$$ operators to retrieve "physical" address/page inside DISP block
- instruction out (c),0 now emits warning (can be suppressed by the "; ok" comment)
- fixed listing of structures using long BLOCK fields (machine code was correct, but listing not)
- fixed some memory leaks, undefined behaviour and unaligned memory access
Now things like this are possible:
Код:
STRUCT S_fileHeader
type BYTE
name TEXT 10, { ' ' }
adr WORD
len WORD
ENDS
file1head S_fileHeader {
FILE_TYPE_A,
{ "file1" },
data1_start,
data1_end - data1_start
}
file2head S_fileHeader {
FILE_TYPE_B,
{ "f2" },
data2_start,
data2_end - data2_start
}
; ... etc...