Added test for memsrch subroutine.
[vvhitespace] / tests / 4100_flowcontrol_branches_not_taken.pvvs
CommitLineData
84c650ed
AT
1# This test verifies correct program flow when not
2# following a conditional branch.
3
4SSSTSSSSSTN | ST: Push +65 (ASCII A)
5SSSTN | ST: Push +1
6NTSTSTSTSN | FC: BRZ -> '42'
7SSSTN | ST: Push +1
8NTTTSTSTSN | FC: BMI -> '42'
9TNSS | IO: Output character
10NNN | FC: Terminate program
11
12NSSVTSTSTSN | FC: Mark label '42'
13SSSTSSSSTSN | ST: Push +66 (ASCII B)
14TNSS | IO: Output character
15NNN | FC: Terminate program