• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 10:50
CET 16:50
KST 00:50
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10[ASL20] Finals Preview: Arrival13
Community News
[TLMC] Fall/Winter 2025 Ladder Map Rotation12Weekly Cups (Nov 3-9): Clem Conquers in Canada4SC: Evo Complete - Ranked Ladder OPEN ALPHA8StarCraft, SC2, HotS, WC3, Returning to Blizzcon!45$5,000+ WardiTV 2025 Championship7
StarCraft 2
General
Mech is the composition that needs teleportation t RotterdaM "Serral is the GOAT, and it's not close" RSL Season 3 - RO16 Groups C & D Preview [TLMC] Fall/Winter 2025 Ladder Map Rotation TL.net Map Contest #21: Winners
Tourneys
RSL Revival: Season 3 Sparkling Tuna Cup - Weekly Open Tournament Constellation Cup - Main Event - Stellar Fest Tenacious Turtle Tussle Master Swan Open (Global Bronze-Master 2)
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 499 Chilling Adaptation Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened Mutation # 496 Endless Infection
Brood War
General
FlaSh on: Biggest Problem With SnOw's Playstyle BW General Discussion What happened to TvZ on Retro? Brood War web app to calculate unit interactions [ASL20] Ask the mapmakers — Drop your questions
Tourneys
[Megathread] Daily Proleagues Small VOD Thread 2.0 [BSL21] RO32 Group D - Sunday 21:00 CET [BSL21] RO32 Group C - Saturday 21:00 CET
Strategy
PvZ map balance Current Meta Simple Questions, Simple Answers How to stay on top of macro?
Other Games
General Games
Path of Exile Stormgate/Frost Giant Megathread Nintendo Switch Thread Clair Obscur - Expedition 33 Beyond All Reason
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
Things Aren’t Peaceful in Palestine US Politics Mega-thread Russo-Ukrainian War Thread Artificial Intelligence Thread Canadian Politics Mega-thread
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
Movie Discussion! [Manga] One Piece Anime Discussion Thread Korean Music Discussion Series you have seen recently...
Sports
2024 - 2026 Football Thread Formula 1 Discussion NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Dyadica Gospel – a Pulp No…
Hildegard
Coffee x Performance in Espo…
TrAiDoS
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Reality "theory" prov…
perfectspheres
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2410 users

MARIE

Blogs > EsX_Raptor
Post a Reply
EsX_Raptor
Profile Blog Joined February 2008
United States2802 Posts
Last Edited: 2009-01-31 01:18:04
January 31 2009 01:17 GMT
#1
So I just started this semester by taking other set of two CS (Computer Science) classes and in one of them, I was asked to learn Marie, which is basically an assembler.

Program can be found here: Marie

I started out by experimenting a little with it and got to a point in which I can say I understand it pretty well. Here's a list of Marie commands as reference:

[image loading]


I started out by making a simple program which adds three numbers. Here's the source:

Add Three Numbers
+ Show Spoiler +
ORG 100
Load A /Load value of first number into AC
Add B /Add value of second number to AC
Add C /Add value of third number to AC
Store Sum /Store this sum
Halt /Terminate program

A, Dec 10 /The values to be added together
B, Dec 15
C, Dec 20
Sum, Dec 0 /The result is placed here

END


I will be adding more and more programs as I acquaint myself with it! If you're interested, you can jump in as well.

*
Starparty
Profile Blog Joined December 2004
Sweden1963 Posts
January 31 2009 01:33 GMT
#2
you stole my guild tag
The artist formerly known as Starparty
funkie
Profile Blog Joined November 2005
Venezuela9376 Posts
January 31 2009 01:44 GMT
#3
What university do you go to in the US?

Did you studied something here before going to the US?

I never heard of Marie, so this was interesting, keep us updated .
CJ Entusman #6! · Strength is the basis of athletic ability. -Rippetoe /* http://j.mp/TL-App <- TL iPhone App 2.0! */
Kennelie
Profile Joined December 2007
United States2296 Posts
Last Edited: 2009-01-31 01:57:31
January 31 2009 01:55 GMT
#4
Don't you live somewhere in Houston?

You go to Rice or other college in Houston?

Edit: I recall you living somewhere in Texas. Oh yea interested in this. I suck dick with pc's.
ya had ya shot kid!
EsX_Raptor
Profile Blog Joined February 2008
United States2802 Posts
January 31 2009 01:57 GMT
#5
I go to UHD in Houston
Abydos1
Profile Blog Joined October 2008
United States832 Posts
January 31 2009 02:18 GMT
#6
Haha, you're either going to find assembly interesting or very confusing and annoying. We had to learn Marie too, at the end of the class we had to write a program to do multiplication and array addition if I remember correctly; most of the other people in my class struggled with it.

Unfortunately assembly isn't really used much today at all with the power of modern CPUs and since compilers are decent at optimization; there's only some very small set of instances where it makes sense to program in assembly.
"...perhaps the greatest joy possible in Starcraft, being accused of being a maphacker" - Day[9]
fusionsdf
Profile Blog Joined June 2006
Canada15390 Posts
January 31 2009 02:46 GMT
#7
I'm learning assembly right now too :O
not using that program though
SKT_Best: "I actually chose Protoss because it was so hard for me to defeat Protoss as a Terran. When I first started Brood War, my main race was Terran."
Raithed
Profile Blog Joined May 2007
China7078 Posts
January 31 2009 03:02 GMT
#8
assembly language sucks ass, its like 4 pages of crap just to turn the lights on!
tec27
Profile Blog Joined June 2004
United States3702 Posts
January 31 2009 04:24 GMT
#9
Make it do division/multiplication! Implement your own stack! Although, I find using fake assembly languages kind of a crappy way to teach, tbh. Had to use LC-3 in a previous class, and it just doesn't mean much at all to you once you're done using it. Although I guess its a decent way to learn the basics of it, but past that, you end up having to go learn some other assembly if you want to make any use out of it.
Can you jam with the console cowboys in cyberspace?
EsX_Raptor
Profile Blog Joined February 2008
United States2802 Posts
January 31 2009 05:51 GMT
#10
I actually have to make an arithmetic clock for my final -___-;;
HeavOnEarth
Profile Blog Joined March 2008
United States7087 Posts
January 31 2009 07:11 GMT
#11
UHD = university of houston downtown? :O
"come korea next time... FXO house... 10 korean, 10 korean"
cgrinker
Profile Blog Joined December 2007
United States3824 Posts
January 31 2009 07:23 GMT
#12
Lean Java bytecode. That way you can do everything you want AND reverse engineer other people's work
EsX_Raptor
Profile Blog Joined February 2008
United States2802 Posts
January 31 2009 07:43 GMT
#13
On January 31 2009 16:11 HeavOnEarth wrote:
UHD = university of houston downtown? :O

yes
MasterZilla
Profile Blog Joined November 2003
Sweden234 Posts
Last Edited: 2009-01-31 09:41:06
January 31 2009 08:44 GMT
#14
Ah, this reminds me of when I took a class in Compiler Theory.

We had a VM that ran a similar type of fake assembly language, and C-like code called Trac42. Then we just had to implement a compiler for Trac42. It was a lot of fun, doing things like implicit type conversions and nested pointers.

Edit:

Here's a problem to calculate the factorial of a given number:

+ Show Spoiler +
ORG 100
      Input
      Store Factorial
Fac, Load Factorial
      Store MulOpA
      Load Sum
      Skipcond 800 /Ugly way to prevent multiplication with Zero in the first iteration
      Load One /Let's start with multiplication by One
      Store MulOpB
      Load Zero
      Store MulSum
      Jump Mul
FacLoop, Load MulSum
      Store Sum
      Load Factorial
      Subt One
      Skipcond 800
      Jump Finish
      Store Factorial
      Jump Fac
Mul, Load MulSum
      Add MulOpB
      Store MulSum
      Load MulOpA
      Subt One
      Store MulOpA
      Skipcond 400
      Jump Mul
      Jump FacLoop
Finish, Load Sum
      Output
      Halt


Factorial, DEC 0
Sum, DEC 0
MulOpA, DEC 0
MulOpB, DEC 0
MulSum, DEC 0
Zero, DEC 0
One, DEC 1

END
For Aiur! - If you reach for the stars and miss, you still might end up walking among the clouds.
Scorch
Profile Blog Joined March 2008
Austria3371 Posts
January 31 2009 11:11 GMT
#15
This is lame. I thought Marie was a girl and I expected pics.

Please log in or register to reply.
Live Events Refresh
Next event in 1h 10m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SteadfastSC 361
LamboSC2 72
mcanning 61
MindelVK 10
StarCraft: Brood War
Britney 34722
Rain 3193
Horang2 1475
actioN 1061
Jaedong 998
Shuttle 467
Stork 451
firebathero 239
PianO 183
Barracks 160
[ Show more ]
Leta 109
Shinee 103
LaStScan 87
ggaemo 79
Hyun 72
Rock 37
JYJ36
Mong 34
Shine 33
ToSsGirL 21
soO 18
zelot 16
HiyA 14
Movie 14
Oystein9
Dota 2
Gorgc6263
qojqva1815
Dendi1074
XcaliburYe137
LuMiX0
Counter-Strike
ScreaM90
Heroes of the Storm
Khaldor296
Liquid`Hasu86
Other Games
B2W.Neo2051
Hui .340
Lowko328
DeMusliM308
Mlord204
Fuzer 187
febbydoto9
Trikslyr6
Organizations
Dota 2
PGL Dota 2 - Main Stream11179
PGL Dota 2 - Secondary Stream1913
Other Games
EGCTV560
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• StrangeGG 58
• HeavenSC 15
• IndyKCrew
• AfreecaTV YouTube
• intothetv
• Kozan
• sooper7s
• LaughNgamezSOOP
• Migwel
StarCraft: Brood War
• Michael_bg 1
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• C_a_k_e 1408
• Ler58
League of Legends
• Nemesis3021
Other Games
• WagamamaTV285
Upcoming Events
IPSL
1h 10m
ZZZero vs rasowy
Napoleon vs KameZerg
OSC
3h 10m
BSL 21
4h 10m
Tarson vs Julia
Doodle vs OldBoy
eOnzErG vs WolFix
StRyKeR vs Aeternum
Sparkling Tuna Cup
18h 10m
RSL Revival
18h 10m
Reynor vs sOs
Maru vs Ryung
Kung Fu Cup
20h 10m
Cure vs herO
Reynor vs TBD
WardiTV Korean Royale
20h 10m
BSL 21
1d 4h
JDConan vs Semih
Dragon vs Dienmax
Tech vs NewOcean
TerrOr vs Artosis
IPSL
1d 4h
Dewalt vs WolFix
eOnzErG vs Bonyth
Replay Cast
1d 7h
[ Show More ]
Wardi Open
1d 20h
Monday Night Weeklies
2 days
WardiTV Korean Royale
2 days
BSL: GosuLeague
3 days
The PondCast
3 days
Replay Cast
4 days
RSL Revival
4 days
BSL: GosuLeague
5 days
RSL Revival
5 days
WardiTV Korean Royale
5 days
RSL Revival
6 days
WardiTV Korean Royale
6 days
Liquipedia Results

Completed

Proleague 2025-11-14
Stellar Fest: Constellation Cup
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
BSL Season 21
CSCL: Masked Kings S3
SLON Tour Season 2
RSL Revival: Season 3
META Madness #9
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025

Upcoming

BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.