64IOUT@(OUT)Outputs data to 1/0 ports.Format:OUT @ number>, data>Abbreviated form:OU.@Explanation:• Converts data> values (0 - 255) to binary numbers and outputs to the number> output port.• From 0 to 127 ($00 - $7F in hexadecimal), the number> can be determinedfreely. From 128 to 255 ($FO - $80 in hexadecimal), tne use is exclusively as portsfor external devices.• For control of peripheral devices, etc., data are output to 110 ports. Thus, if thereis a mistake of the number>, etc. by this OUT@ command, there is thepossibility that such a mistake will cause abnormal operation of the peripheralequipment, etc., so care must be taken in that regard.Example:1 0 FOR 1 =0 TO 2020 C =1 +3230 GOSUB "SUB"40 NEXT 150607080901001 1 01201 30140ENDLABEL "SUB"1 NP@ $FE, A1 F NOT (A AND $ 0 D) =0OUT@ $FF,COUT@ $FE, $801 NP@ $FE, A1 F NOT (A AND $ 0 D) =1OUT@ $ F,E, 0RE T UR NReference:INP@ (page 63)THE N 70THEN 110 PreviousNext |