Giter Club home page Giter Club logo

sublime-lc3's Introduction

Description:

Sublime LC3 is a syntax highlighting package for LC3 16-bit assembly for Sublime Text 2.

Usage:

Install:

cd .config/sublime-text-2/Packages
git clone git://github.com/wufufufu/Sublime-LC3.git

Edit:

Download and install AAAPackageDev.

In the folder Sublime-LC3 is the file lc3-assembly.JSON-tmLanguage which contains the editable JSON version of the grammar. Use AAAPackageDev to regenerate lc3-assembly.tmLanguage from this file.

sublime-lc3's People

Contributors

stevenhan2 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

dashwin neur0surf

sublime-lc3's Issues

A question about your LC3

You write the file type in .tmlanguage as ssraw. Which compiler (or rather assembler) do you use for LC3.
We in school use this (LC301) on Windows and I think our syntax and the syntax clearly visible from your .tmlanguage are quite different.
Is it really so ?

Here is some correct code for our assembler.

;
 ; Program to multiply a number by the constant 6
 ;
 .ORIG x3050
LD R1, SIX
 LD R2, NUMBER
AND R3, R3, #0 ; Clear R3. It will
 ; contain the product.
 ; The inner loop
 ;
AGAIN ADD R3, R3, R2
ADD R1, R1, #-1 ; R1 keeps track of
 BRp AGAIN ; the iteration.
 ;
 HALT
 ;
 NUMBER .BLKW 1 #3
 SIX .FILL x0006
 .END

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.