• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 10:10
CEST 16:10
KST 23:10
  • 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
Serral wins EWC 202522Tournament Spotlight: FEL Cracow 20259Power Rank - Esports World Cup 202580RSL Season 1 - Final Week9[ASL19] Finals Recap: Standing Tall15
Community News
[BSL 2025] H2 - Team Wars, Weeklies & SB Ladder2EWC 2025 - Replay Pack2Google Play ASL (Season 20) Announced35BSL Team Wars - Bonyth, Dewalt, Hawk & Sziky teams10Weekly Cups (July 14-20): Final Check-up0
StarCraft 2
General
Serral wins EWC 2025 Greatest Players of All Time: 2025 Update #1: Maru - Greatest Players of All Time Power Rank - Esports World Cup 2025 EWC 2025 - Replay Pack
Tourneys
Sea Duckling Open (Global, Bronze-Diamond) TaeJa vs Creator Bo7 SC Evo Showmatch Sparkling Tuna Cup - Weekly Open Tournament FEL Cracov 2025 (July 27) - $10,000 live event Esports World Cup 2025
Strategy
How did i lose this ZvP, whats the proper response
Custom Maps
External Content
Mutation # 484 Magnetic Pull Mutation #239 Bad Weather Mutation # 483 Kill Bot Wars Mutation # 482 Wheel of Misfortune
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ Shield Battery Server New Patch Google Play ASL (Season 20) Announced Help: rep cant save [G] Progamer Settings
Tourneys
[Megathread] Daily Proleagues [BSL] Non-Korean Championship - Final weekend [BSL20] Non-Korean Championship 4x BSL + 4x China CSL Xiamen International Invitational
Strategy
Does 1 second matter in StarCraft? Simple Questions, Simple Answers Muta micro map competition [G] Mineral Boosting
Other Games
General Games
Nintendo Switch Thread Stormgate/Frost Giant Megathread Total Annihilation Server - TAForever [MMORPG] Tree of Savior (Successor of Ragnarok) Path of Exile
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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine UK Politics Mega-thread Russo-Ukrainian War Thread Stop Killing Games - European Citizens Initiative
Fan Clubs
INnoVation Fan Club SKT1 Classic Fan Club!
Media & Entertainment
Anime Discussion Thread [\m/] Heavy Metal Thread Movie Discussion! [Manga] One Piece Korean Music Discussion
Sports
2024 - 2025 Football Thread Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023 NBA General Discussion
World Cup 2022
Tech Support
Gtx660 graphics card replacement Installation of Windows 10 suck at "just a moment" Computer Build, Upgrade & Buying Resource Thread
TL Community
TeamLiquid Team Shirt On Sale The Automated Ban List
Blogs
Ping To Win? Pings And Their…
TrAiDoS
momentary artworks from des…
tankgirl
from making sc maps to makin…
Husyelt
StarCraft improvement
iopq
Socialism Anyone?
GreenHorizons
Eight Anniversary as a TL…
Mizenhauer
Flash @ Namkraft Laddernet …
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 626 users

MARIE

Blogs > EsX_Raptor
Post a Reply
EsX_Raptor
Profile Blog Joined February 2008
United States2801 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
Venezuela9374 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 States2801 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 States3699 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 States2801 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 States2801 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
OSC
12:30
King of the Hill Weekly #220
CranKy Ducklings176
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Harstem 483
Hui .336
mouzHeroMarine 202
ProTech31
trigger 20
StarCraft: Brood War
Britney 53078
Horang2 3527
Flash 2997
Bisu 2962
ggaemo 2883
Jaedong 1476
Hyun 1043
EffOrt 855
Barracks 825
Mini 687
[ Show more ]
Soulkey 449
Larva 418
actioN 308
Snow 226
ZerO 182
Last 164
Killer 126
Zeus 122
Rush 106
ToSsGirL 103
JYJ81
Sharp 57
Movie 49
sSak 35
sorry 33
yabsab 31
sas.Sziky 28
Shinee 25
Sacsri 25
[sc1f]eonzerg 23
zelot 19
Shine 16
ajuk12(nOOB) 10
Noble 10
Terrorterran 10
Aegong 9
Hm[arnc] 6
IntoTheRainbow 5
Stormgate
RushiSC29
Dota 2
Gorgc6480
qojqva3369
Dendi704
420jenkins324
XcaliburYe247
Counter-Strike
ScreaM900
markeloff147
kRYSTAL_32
Other Games
singsing2285
B2W.Neo1122
hiko1020
DeMusliM367
Fuzer 363
Happy179
ToD159
QueenE47
ZerO(Twitch)9
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• StrangeGG 87
• davetesta46
• tFFMrPink 5
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• WagamamaTV356
League of Legends
• Nemesis2944
• Jankos1241
Upcoming Events
uThermal 2v2 Circuit
1h 50m
The PondCast
19h 50m
Online Event
1d 1h
Korean StarCraft League
2 days
CranKy Ducklings
2 days
BSL20 Non-Korean Champi…
2 days
Mihu vs QiaoGege
Zhanhun vs Dewalt
Fengzi vs TBD
Online Event
3 days
Sparkling Tuna Cup
3 days
BSL20 Non-Korean Champi…
3 days
Bonyth vs TBD
OSC
5 days
Liquipedia Results

Completed

BSL 20 Non-Korean Championship
FEL Cracow 2025
Underdog Cup #2

Ongoing

Copa Latinoamericana 4
Jiahua Invitational
BSL 20 Team Wars
CC Div. A S7
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025

Upcoming

BSL 21 Qualifiers
ASL Season 20: Qualifier #1
ASL Season 20: Qualifier #2
ASL Season 20
CSLPRO Chat StarLAN 3
BSL Season 21
RSL Revival: Season 2
Maestros of the Game
SEL Season 2 Championship
WardiTV Summer 2025
uThermal 2v2 Main Event
HCC Europe
Yuqilin POB S2
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
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.