Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
About
Team
Rules
Stats
Status
Sitemap
Chat
Downloads
Forum
News
Our Projects
Major Community Projects
Recent Posts
Unread Posts
Replies
Tools
SourceCoder3
Other Things...
Omnimaga Radio
TI-83 Plus ASM File Unsquisher
Z80 Conversion Tools
IES TI File Editor
Free RAM areas
Comprehensive Getkeyr table
URL Shortener
Online Axe Tilemap Editor
Help
Contact Us
Change Request
Report Issue/Bug
Team
Articles
Members
View the memberlist
Search For Members
Buddies
Login
Register
Omnimaga
»
Forum
»
Calculator Community
»
TI Calculators
»
ASM
»
Coding ASM by hand
« previous
next »
Print
Pages:
1
[
2
]
3
Go Down
Author
Topic: Coding ASM by hand (Read 14044 times)
0 Members and 2 Guests are viewing this topic.
Galandros
LV9
Veteran (Next: 1337)
Posts: 1140
Rating: +42/-10
Re: Coding ASM by hand
«
Reply #15 on:
July 23, 2010, 09:40:16 am »
Interesting. There is even an active programmer in assembly by hand with several releases in ticalc.
It is curious to see people write assembly in hex instead of memnomics.
Personally I stick in doing assembly with an computer assembler and emulator. It is much safer and fewer constraints in comments, labels, macros and other tools. Mosaic will replace the oncalc assemblers.
Logged
Hobbing in calculator projects.
matthias1992
LV6
Super Member (Next: 500)
Posts: 408
Rating: +33/-5
Re: Coding ASM by hand
«
Reply #16 on:
November 17, 2010, 06:58:39 am »
The battle is really on between Mosaic and Mimas but since Mimas is already 'out there' and Mosiac (as far as I know) isn't Mimas is right now the best way to go...
Looking back on this the program I wrote wasn't really that usefull it was intended to be a digital lookup file so you could type the command and it would spit out the hex command for it...
pretty useless and even more useless seeing what Mimas can do. I recommend anybody who was initially interested in this to download Mimas or wait for Mosaic to come out
Logged
MASM xxxxxxxxxx aborted | SADce ====:::::: 40% -Halted until further notice| XAOS =====::::: 50% -Units done| SKYBOX2D engine ========== 100% -Pre-alpha done. Need to document it and extend |
~Those who dream by day are cognizant of much more than those who dream by night only. -Sir Edgar Allen Poe-
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: Coding ASM by hand
«
Reply #17 on:
November 17, 2010, 02:11:32 pm »
It still seemed quite cool, though, for those who wanted to code ASM in the BASIC editor. By the way, Xeda codes in hex directly.
Logged
Builderboy
Physics Guru
CoT Emeritus
LV13
Extreme Addict (Next: 9001)
Posts: 5673
Rating: +613/-9
Would you kindly?
Re: Coding ASM by hand
«
Reply #18 on:
November 17, 2010, 02:13:37 pm »
Quote from: DJ Omnimaga on November 17, 2010, 02:11:32 pm
By the way, Xeda codes in hex directly.
Like a boss
I still think programs like this are useful, and also very cool
Logged
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: Coding ASM by hand
«
Reply #19 on:
November 17, 2010, 02:15:16 pm »
Another thing is that it can make it easy to grab hex code fast for use in Axe games (with Asm() or Omnicalc/Celtic/DCS7 ExecASM)
Logged
Xeda112358
they/them
Moderator
LV12
Extreme Poster (Next: 5000)
Posts: 4704
Rating: +719/-6
Calc-u-lator, do doo doo do do do.
Re: Coding ASM by hand
«
Reply #20 on:
November 17, 2010, 02:16:09 pm »
Yes! And it is quite amazing once you get the hang of it. It will be very easy to do once you have done it long enough. It took me a few months before I could program anything major without the aid of a chart or the SDK or other references, though. I still need to check up on B_Calls and RAM addresses occasionally, though. Plus, counting bytes becomes pretty easy when you realize there are 8 bytes to a line...
And you get a pretty intimate knowledge of assembly when you learn all the hex...
Logged
+2/-0 karm for this message
My pastebin
|
Pokémon Amber
|
Grammer Programming Language
|
BatLib Library
|
Jade Simulator
|
Zeda's Hex Opcodes
|
FileSyst Library
|
CopyProg
|
TPROG
|
GroupRead
|
Lbl Read/Write
|
Z80 Floating Point Routines
(
z80float on GitHub
)|
Z80 Optimized Routines Repository
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: Coding ASM by hand
«
Reply #21 on:
November 17, 2010, 02:21:31 pm »
One good thing with ASM is that there aren't as many instructions to remember as in Axe or BASIC, so that helps remembering hex codes for each instructions.
I guess it's good to not put the entire code into one single line, though, else it can be hard to read and if you accidentally press CLEAR on 12 KB of hex code...
Logged
Xeda112358
they/them
Moderator
LV12
Extreme Poster (Next: 5000)
Posts: 4704
Rating: +719/-6
Calc-u-lator, do doo doo do do do.
Re: Coding ASM by hand
«
Reply #22 on:
November 17, 2010, 02:23:15 pm »
Yeah, that has been a problem for me in the past. I usually put one call to a line or one section to a line... So pressing clear sucks if I never copied down the code elsewhere...
Logged
My pastebin
|
Pokémon Amber
|
Grammer Programming Language
|
BatLib Library
|
Jade Simulator
|
Zeda's Hex Opcodes
|
FileSyst Library
|
CopyProg
|
TPROG
|
GroupRead
|
Lbl Read/Write
|
Z80 Floating Point Routines
(
z80float on GitHub
)|
Z80 Optimized Routines Repository
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: Coding ASM by hand
«
Reply #23 on:
November 17, 2010, 02:26:38 pm »
The only annoying thing with splitting code in multiple lines is the much longer scrolling time through the code. But I think it's best to take the extra 20 seconds to scroll down the code instead of risking losing 8 hours of work due to an accidental CLEAR press.
Logged
Builderboy
Physics Guru
CoT Emeritus
LV13
Extreme Addict (Next: 9001)
Posts: 5673
Rating: +613/-9
Would you kindly?
Re: Coding ASM by hand
«
Reply #24 on:
November 17, 2010, 02:29:47 pm »
Do hex programs allow for newlines? Or do you have to erase them before you compile?
Logged
Xeda112358
they/them
Moderator
LV12
Extreme Poster (Next: 5000)
Posts: 4704
Rating: +719/-6
Calc-u-lator, do doo doo do do do.
Re: Coding ASM by hand
«
Reply #25 on:
November 17, 2010, 02:31:14 pm »
You can use newlines, it makes it much easier to organise code.
Logged
My pastebin
|
Pokémon Amber
|
Grammer Programming Language
|
BatLib Library
|
Jade Simulator
|
Zeda's Hex Opcodes
|
FileSyst Library
|
CopyProg
|
TPROG
|
GroupRead
|
Lbl Read/Write
|
Z80 Floating Point Routines
(
z80float on GitHub
)|
Z80 Optimized Routines Repository
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: Coding ASM by hand
«
Reply #26 on:
November 17, 2010, 02:31:42 pm »
I swear I typed an hex program with linebreaks once
EDIT: Ninja'd
«
Last Edit: November 17, 2010, 02:31:54 pm by DJ Omnimaga
»
Logged
Xeda112358
they/them
Moderator
LV12
Extreme Poster (Next: 5000)
Posts: 4704
Rating: +719/-6
Calc-u-lator, do doo doo do do do.
Re: Coding ASM by hand
«
Reply #27 on:
November 17, 2010, 02:32:45 pm »
Well, you can not split bytes... You have to keep an even number of hex digits on each line, but otherwise, it is fine.
Logged
My pastebin
|
Pokémon Amber
|
Grammer Programming Language
|
BatLib Library
|
Jade Simulator
|
Zeda's Hex Opcodes
|
FileSyst Library
|
CopyProg
|
TPROG
|
GroupRead
|
Lbl Read/Write
|
Z80 Floating Point Routines
(
z80float on GitHub
)|
Z80 Optimized Routines Repository
Builderboy
Physics Guru
CoT Emeritus
LV13
Extreme Addict (Next: 9001)
Posts: 5673
Rating: +613/-9
Would you kindly?
Re: Coding ASM by hand
«
Reply #28 on:
November 17, 2010, 02:33:24 pm »
Ah gotcha, yeah i can imagine
Too bad there arn't such things as comments. I would get lost in the sea of HEX
I give no end of props to you for coding in hex
Logged
Xeda112358
they/them
Moderator
LV12
Extreme Poster (Next: 5000)
Posts: 4704
Rating: +719/-6
Calc-u-lator, do doo doo do do do.
Re: Coding ASM by hand
«
Reply #29 on:
November 17, 2010, 02:35:29 pm »
Well, I was thinking about making a program that worked like AsmComp(, but it would let you use labels and notes, but I am working on a few other programs at the moment...
But maybe soon...
It won't be too difficult, but it would only be useful to a few people...
And I would obviously provide the opcode
*Also, now that I have a computer, I can plan out my codes in a text document
«
Last Edit: November 17, 2010, 02:36:43 pm by Xeda112358
»
Logged
My pastebin
|
Pokémon Amber
|
Grammer Programming Language
|
BatLib Library
|
Jade Simulator
|
Zeda's Hex Opcodes
|
FileSyst Library
|
CopyProg
|
TPROG
|
GroupRead
|
Lbl Read/Write
|
Z80 Floating Point Routines
(
z80float on GitHub
)|
Z80 Optimized Routines Repository
Print
Pages:
1
[
2
]
3
Go Up
« previous
next »
Omnimaga
»
Forum
»
Calculator Community
»
TI Calculators
»
ASM
»
Coding ASM by hand