Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions mips snippets/move_from_control_register.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- THIS WAS AUTOMATED GENERATED -->
<snippet>
<description>$t = Coprocessor[Z].ControlRegister[$d]</description>
<content><![CDATA[mfcZ \$${1:t}, \$${2:d}]]></content>
<description>$t = Coprocessor[0].ControlRegister[$d]</description>
<content><![CDATA[mfc0 \$${1:t}, \$${2:d}]]></content>
<tabTrigger>move_from_control_register</tabTrigger>
<scope>source.mips</scope>
</snippet>
</snippet>
6 changes: 3 additions & 3 deletions mips snippets/move_to_control_register.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- THIS WAS AUTOMATED GENERATED -->
<snippet>
<description>Coprocessor[Z].ControlRegister[$d] = $t</description>
<content><![CDATA[mtcZ \$${1:t}, \$${2:d}]]></content>
<description>Coprocessor[0].ControlRegister[$d] = $t</description>
<content><![CDATA[mtc0 \$${1:t}, \$${2:d}]]></content>
<tabTrigger>move_to_control_register</tabTrigger>
<scope>source.mips</scope>
</snippet>
</snippet>
2 changes: 1 addition & 1 deletion mips.JSON-tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
},
{
"name": "support.function.source.mips",
"match": "\\b(add|addu|addi|addiu|sub|subu|and|andi|or|not|ori|nor|xor|xori|slt|sltu|slti|sltiu|sll|sllv|rol|srl|sra|srlv|ror|j|jr|jal|beq|bne|lw|sw|lui|move|mfhi|mflo|mthi|mtlo)\\b",
"match": "\\b(add|addu|addi|addiu|sub|subu|and|andi|or|not|ori|nor|xor|xori|slt|sltu|slti|sltiu|sll|sllv|rol|srl|sra|srlv|ror|j|jr|jal|beq|bne|lw|sw|sb|lb|lbu|lui|move|mfhi|mflo|mthi|mtlo|mtc0|mfc0)\\b",
"comment": "Just the hardcoded instructions provided by the MIPS assembly language"
},
{
Expand Down
2 changes: 1 addition & 1 deletion mips.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<key>comment</key>
<string>Just the hardcoded instructions provided by the MIPS assembly language</string>
<key>match</key>
<string>\b(add|addu|addi|addiu|sub|subu|and|andi|or|not|ori|nor|xor|xori|slt|sltu|slti|sltiu|sll|sllv|rol|srl|sra|srlv|ror|j|jr|jal|beq|bne|lw|sw|lui|move|mfhi|mflo|mthi|mtlo)\b</string>
<string>\b(add|addu|addi|addiu|sub|subu|and|andi|or|not|ori|nor|xor|xori|slt|sltu|slti|sltiu|sll|sllv|rol|srl|sra|srlv|ror|j|jr|jal|beq|bne|lw|sw|sb|lb|lbu|lui|move|mfhi|mflo|mthi|mtlo|mtc0|mfc0)\b</string>
<key>name</key>
<string>support.function.source.mips</string>
</dict>
Expand Down
6 changes: 3 additions & 3 deletions packages.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"schema_version": "1.2",
"schema_version": "1.3",
"packages": [
{
"name": "MIPS-Syntax",
"description": "Provides MIPS-Syntax for Sublime Text 2. Currently under development",
"description": "MIPS-Syntax for Sublime Text 2 and 3. Currently under development",
"author": "Manuel Hoffmann",
"homepage": "https://github.com/contradictioned/mips-syntax",
"last_modified": "2014-01-30 11:29:24",
"platforms": {
"*": [
{
"version": "0.1.2",
"version": "0.1.4",
"url": "https://nodeload.github.com/contradictioned/mips-syntax/zip/0.1"
}
]
Expand Down