| 296 | <h3>LDS direct access</h3> |
| 297 | <p>The LDS direct access allow to access LDS memory from VOP instruction directly by supplying |
| 298 | LDS, LDS_DIRECT or SRC_LDS_DIRECT keyword on the first source operand. Then data from |
| 299 | LDS will be used on place that operand.</p> |
| 300 | <p>The M0 must hold the offset in bytes (in 0-15 bits) and format of the data (in bits 16-18). |
| 301 | Table of formats:</p> |
| 302 | <table> |
| 303 | <thead> |
| 304 | <tr> |
| 305 | <th>Value</th> |
| 306 | <th>Format</th> |
| 307 | </tr> |
| 308 | </thead> |
| 309 | <tbody> |
| 310 | <tr> |
| 311 | <td>0</td> |
| 312 | <td>Unsigned byte</td> |
| 313 | </tr> |
| 314 | <tr> |
| 315 | <td>1</td> |
| 316 | <td>Unsigned 16-bit word</td> |
| 317 | </tr> |
| 318 | <tr> |
| 319 | <td>2</td> |
| 320 | <td>Unsigned 32-bit word</td> |
| 321 | </tr> |
| 322 | <tr> |
| 323 | <td>3</td> |
| 324 | <td>unused (same as 2)</td> |
| 325 | </tr> |
| 326 | <tr> |
| 327 | <td>4</td> |
| 328 | <td>Signed byte</td> |
| 329 | </tr> |
| 330 | <tr> |
| 331 | <td>5</td> |
| 332 | <td>Signed 16-bit word</td> |
| 333 | </tr> |
| 334 | </tbody> |
| 335 | </table> |