#include "syscall.h" int main() { OpenFileId file; char testStr[15]; char getStr[15]; int bytesRead; testStr[0] = 'H'; testStr[1] = 'e'; testStr[2] = 'l'; testStr[3] = 'l'; testStr[4] = 'o'; testStr[5] = ' '; testStr[6] = 'W'; testStr[7] = 'o'; testStr[8] = 'r'; testStr[9] = 'l'; testStr[10] = 'd'; testStr[11] = '!'; testStr[12] = '!'; testStr[13] = '\n'; testStr[14] = '\0'; // Create file named "testFile" Create("TestFile"); // Open the file that was just created file = Open("TestFile"); // Write "Hello World!!" to TestFile Write(testStr,15,file); // Close File Close(file); // Open the file that was just created file = Open("TestFile"); // Read "Hello World!!" from file bytesRead = Read(getStr,15,file); // Close File Close(file); // Write "Hello World!! to screen Write(getStr,bytesRead,1); // Exit this program Exit(0); }