mirror of
https://github.com/soconnor0919/nand2tetris-zed.git
synced 2025-12-15 08:34:44 -05:00
Fix HDL and Hack Assembly syntax highlighting and queries
- Fixed HDL highlights query syntax error with #match? predicate - Replaced #match? with #any-of? for exact string matching - Fixed Hack Assembly outline query invalid field name - Improved HDL syntax highlighting with comprehensive patterns - Added HDL bracket matching for all syntax types - Fixed XML scope mismatch from text.xml to source.xml - Enhanced outline queries for better code navigation
This commit is contained in:
23
test-examples/CPU.tst
Normal file
23
test-examples/CPU.tst
Normal file
@@ -0,0 +1,23 @@
|
||||
load CPU.hdl,
|
||||
output-file CPU.out,
|
||||
compare-to CPU.cmp,
|
||||
|
||||
output-list time%S1.3.1 instruction%B0.16.0 pc%D0.5.0;
|
||||
|
||||
set instruction %B0011000000111001, // @12345
|
||||
tick,
|
||||
output;
|
||||
tock,
|
||||
output;
|
||||
|
||||
set instruction %B1110110000010000, // D=A
|
||||
tick,
|
||||
output;
|
||||
tock,
|
||||
output;
|
||||
|
||||
repeat 10 {
|
||||
ticktock;
|
||||
}
|
||||
|
||||
output;
|
||||
Reference in New Issue
Block a user