Toshiba AS311 Appendix, Specification of the Read instruction, Function, Operand, Program example

Page 62

Appendix

A.1 Specification of the READ instruction

FUN 237 Special module data read (READ)

Reads designated range of data from the special module.

Input

Execution output

[ A READ B

C ]

Function

This instruction reads data from the buffer memory of the special module that is designated by operand A, and stores them in T3’s registers starting with operand C.

The transfer source address (buffer memory

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Input

 

 

 

Action

 

 

 

Output

 

ERF

address) is designated by operand B.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OFF

 

No execution

 

 

 

 

 

OFF

 

 

 

 

The transfer size (number of words) is

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ON

 

Normal execution

 

 

ON

 

 

 

 

designated by operand B+1.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Error (see Note 2)

 

 

ON

 

 

ON

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Operand

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Index

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Constant

 

 

 

 

 

 

 

Device

 

 

 

 

 

 

 

 

 

 

 

 

Register

 

 

 

 

 

 

 

 

 

 

Opr

Name

X

Y

S

L

R

Z

T.

C.

I

O

XW

YW

SW

LW

RW

W

T

C

 

D

F

IW

O

I

J

 

K

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

W

 

 

 

 

 

 

A

Special

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

module

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

B

Transfer

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

parameter

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

C

Top register

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

of destination

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Program example

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

R0000

[ XW000 READ RW010

D0100 ]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

When R0000 is ON, the buffer memory data of the size indicated by RW011, starting with the address indicated by RW010 of the special module allocated to XW000, are read and stored in D0100 and after.

The maximum number of words to be read is 256 words.

XW000 special module

T3

 

RW010

Buffer memory

RW011

20

16

201234

355678

READ

D0100

1234

 

 

 

16 words

D0115

 

5678

60 ASCII Interface Module (AS311)

Image 62
Contents AS311 Important Information Safety Precautions Symbols Used In This ManualInside This Manual About This ManualAbout This Manual Related Manuals TerminologyContents Contents Ascii Interface Module AS311 Section AS311 Overview AS311 Overview IntroductionAS311 functions Read WriteExternal features AS311Status LEDs SW1  channel 1 transmission parameter setting switchesSW2  channel 2 transmission parameter setting switches No.7RS-232C/RS-422 selection switches for channel RSW1/RSW2  Optional rotary switchesHardware reset switch Channel 1 and channel 2 serial portsAscii Interface Module AS311 Section Specifications Functional specifications SpecificationsGeneral specifications Transmission specifications Ascii Interface Module AS311 Section Cable Connections Cable Connections RS-232C connectionTxda Rxda Txdb Rxdb Rtsa Ctsa Rtsb Ctsb RS-422 connectionAscii Interface Module AS311 Section Register Configuration Register Configuration I/O allocation and I/O registersD C B a 9 8 7 6 5 4 3 2 1 No use AS311 buffer memory Memory mapBuffer memory access Read instruction FUN237Write instruction FUN238 Parameter area RSW1/2 information Status and command 0Status 1 SW1 information SW2 informationCommand 1 CH1 receive error 16 CH2 receive errorCH1 transmit error 17 CH2 transmit error CH1 channel status 18 CH2 channel statusCH1 receive length 19 CH2 receive length CH1 trailing code 24 CH2 trailing codeCH1 time-out check 25 CH2 time-out check Receiving and transmitting data area Section Operation Procedure Operation Procedure Transmission message formatReceived message read sequence Flag control timing AS311 sets Receive complete to on2 T3 sample program for message receiving Operation Procedure Operation Procedure Write sequence for message transmitting Flag control timing T3 sets Transmit start to on2 T3 sample program for message transmitting Operation Procedure Operation Procedure Checking the AS311 operation status Resetting the AS311 by software Setting the trailing code Setting the time-out check time Section RAS Information RAS Information LED indicationBuffer memory information Module statusSwitch setting status Error information for data receiving Error information for data transmitting Trouble shooting Ascii Interface Module AS311 Appendix Function Specification of the Read instructionAppendix OperandH0A Specification of the Write instruction RW010 XW020 D0100 Toshiba Corporation

AS311 specifications

The Toshiba AS311 is a well-rounded notebook designed to cater to the needs of students, professionals, and casual users alike. With a focus on affordability and reliability, this laptop strikes a balance between performance and efficiency, making it an appealing choice for those seeking a dependable computing solution.

One of the main features of the Toshiba AS311 is its lightweight design. Weighing approximately 2.5 kg, this laptop is easily portable, allowing users to carry it to classes, meetings, or coffee shops without hassle. The sleek profile is complemented by a durable chassis that can withstand the rigors of daily use.

At the heart of the AS311 is a powerful processor that ensures smooth performance across a variety of applications. Typically equipped with Intel's Pentium or Core series processors, the AS311 provides adequate computing power for tasks such as word processing, web browsing, and light multimedia consumption. Paired with sufficient RAM, users can run multiple applications simultaneously without noticeable lag.

The display of the Toshiba AS311 is another notable feature. With a 15.6-inch HD screen, users can enjoy clear visuals whether they are streaming videos or working on projects. The display's anti-glare technology reduces eye strain, making it suitable for long usage sessions, whether indoors or outdoors.

Connectivity is crucial in today's digital landscape, and the AS311 doesn't disappoint. It offers multiple USB ports, an HDMI output, and an SD card reader, allowing users to connect various peripherals and external devices seamlessly. Additionally, the inclusion of Wi-Fi and Bluetooth capabilities ensures that users can stay connected to the internet and other devices wirelessly.

Battery life is often a concern for laptop users, and the Toshiba AS311 addresses this with a reasonably long-lasting battery. With a lifespan that can extend throughout a typical work or school day, users can go about their activities without constantly searching for power outlets.

From its practical design to its robust performance capabilities, the Toshiba AS311 is a well-crafted notebook that meets the diverse needs of users. Whether for educational pursuits, professional tasks, or entertainment, the AS311 provides a solid computing experience, proving to be a reliable companion for those on the go. With its array of features and user-friendly design, it's a compelling option for individuals looking for an affordable yet capable laptop.