• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 14:29
CEST 20:29
KST 03:29
  • 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
[ASL19] Finals Recap: Standing Tall9HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy6
Community News
Flash Announces Hiatus From ASL63Weekly Cups (June 23-29): Reynor in world title form?13FEL Cracov 2025 (July 27) - $8000 live event21Esports World Cup 2025 - Final Player Roster16Weekly Cups (June 16-22): Clem strikes back1
StarCraft 2
General
Program: SC2 / XSplit / OBS Scene Switcher The SCII GOAT: A statistical Evaluation Statistics for vetoed/disliked maps Weekly Cups (June 23-29): Reynor in world title form? PiG Sty Festival #5: Playoffs Preview + Groups Recap
Tourneys
RSL: Revival, a new crowdfunded tournament series Sparkling Tuna Cup - Weekly Open Tournament WardiTV Mondays FEL Cracov 2025 (July 27) - $8000 live event Korean Starcraft League Week 77
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma Mutation # 477 Slow and Steady
Brood War
General
Flash Announces Hiatus From ASL BW General Discussion Player “Jedi” cheat on CSL SC uni coach streams logging into betting site Practice Partners (Official)
Tourneys
The Casual Games of the Week Thread CSL Xiamen International Invitational [BSL20] Grand Finals - Sunday 20:00 CET [Megathread] Daily Proleagues
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Path of Exile Stormgate/Frost Giant Megathread Nintendo Switch Thread What do you want from future RTS games? 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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Summer Games Done Quick 2025! Trading/Investing Thread Things Aren’t Peaceful in Palestine
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread
Sports
Formula 1 Discussion 2024 - 2025 Football Thread NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Blogs
Culture Clash in Video Games…
TrAiDoS
from making sc maps to makin…
Husyelt
Blog #2
tankgirl
StarCraft improvement
iopq
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 570 users

Assembly Language

Blogs > Raithed
Post a Reply
Raithed
Profile Blog Joined May 2007
China7078 Posts
October 26 2007 18:40 GMT
#1
+ Show Spoiler +
org 0x000
goto Start


org 0x04
goto ISR

Start org 0x020
bsf STATUS, 5
bcf STATUS, 6
movlw 0x87
movwf OPTION_REG
movlw 0x00
movwf TRISD
movlw 0x0f
movwf TRISC
movlw 0x06
movwf ADCON1

bcf STATUS, 5
bcf STATUS, 6
clrf PORTD
clrf PORTC

movlw 0xa0
movwf INTCON
goto Main

Main
goto Main

LoopTimer
btfss INTCON, 2

ISR
nop
bcf INTCON, 2

incf PORTD, f
retfie

end


The bolded part, I believe I got it, just wondering if people ever worked with this language before. Anyway, nop does nothing, but if removed, the program stops running. I think it is because btfss(bit test f, skip if set), if it is set, it will skip so nop is just there so it can be skipped. Am I correct? Second part, a friend of mine(this is not homework, it's a program I am writing) said that TMR0 runs in the background, even though it does not show. It is kind of true but why isn't it in the program? Main will loop into itself 256 times then goes back in the beginning, so basically my second question is this: where in the program does it increment?(not program count)

JeeJee
Profile Blog Joined July 2003
Canada5652 Posts
October 26 2007 19:58 GMT
#2
haven't seen that assembly lang before, i only worked with MIPS
sorry =( good luck though
(\o/)  If you want it, you find a way. Otherwise you find excuses. No exceptions.
 /_\   aka Shinbi (requesting a name change since 27/05/09 ☺)
Raithed
Profile Blog Joined May 2007
China7078 Posts
October 26 2007 21:50 GMT
#3
Thanks, this is just microchip(the company I believe)'s language, but it's similar to some others, some school uses this.
tec27
Profile Blog Joined June 2004
United States3696 Posts
October 26 2007 22:49 GMT
#4
Thats some pretty weird assembler, so I can't really help you out
Can you jam with the console cowboys in cyberspace?
Raithed
Profile Blog Joined May 2007
China7078 Posts
October 26 2007 23:15 GMT
#5
Awh, no one knows. >.<;
haduken
Profile Blog Joined April 2003
Australia8267 Posts
October 27 2007 08:13 GMT
#6
argh... headache.
Rillanon.au
Please log in or register to reply.
Live Events Refresh
BSL: ProLeague
18:00
Grand Finals - bo9
Dewalt vs Bonyth
ZZZero.O250
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
mouzHeroMarine 724
BRAT_OK 124
MindelVK 36
StarCraft: Brood War
Bisu 866
EffOrt 427
Mini 304
ZZZero.O 250
Soma 249
Hyuk 180
TY 109
ToSsGirL 67
Terrorterran 19
HiyA 14
[ Show more ]
LuMiX 6
Stormgate
BeoMulf201
NightEnD6
Dota 2
qojqva3080
League of Legends
Grubby2912
Dendi2071
Counter-Strike
fl0m1565
Super Smash Bros
Mew2King157
Chillindude50
Westballz29
Heroes of the Storm
Khaldor913
Liquid`Hasu505
Other Games
Gorgc3139
FrodaN2575
B2W.Neo767
mouzStarbuck269
KnowMe110
elazer73
Organizations
Other Games
gamesdonequick41245
EGCTV1698
StarCraft 2
angryscii 22
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 19 non-featured ]
StarCraft 2
• Adnapsc2 30
• HeavenSC 28
• maralekos12
• IndyKCrew
• sooper7s
• AfreecaTV YouTube
• Migwel
• intothetv
• LaughNgamezSOOP
• Kozan
StarCraft: Brood War
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• C_a_k_e 4117
• Ler174
League of Legends
• masondota2531
Other Games
• imaqtpie1943
• Shiphtur683
• WagamamaTV373
Upcoming Events
Wardi Open
16h 31m
Monday Night Weeklies
21h 31m
Replay Cast
1d 5h
Sparkling Tuna Cup
1d 15h
WardiTV European League
1d 21h
MaNa vs sebesdes
Mixu vs Fjant
ByuN vs HeRoMaRinE
ShoWTimE vs goblin
Gerald vs Babymarine
Krystianer vs YoungYakov
PiGosaur Monday
2 days
The PondCast
2 days
WardiTV European League
2 days
Jumy vs NightPhoenix
Percival vs Nicoract
ArT vs HiGhDrA
MaxPax vs Harstem
Scarlett vs Shameless
SKillous vs uThermal
Replay Cast
3 days
RSL Revival
3 days
ByuN vs SHIN
Clem vs Reynor
[ Show More ]
Replay Cast
4 days
RSL Revival
4 days
Classic vs Cure
FEL
4 days
RSL Revival
5 days
FEL
5 days
FEL
5 days
Sparkling Tuna Cup
6 days
RSL Revival
6 days
FEL
6 days
Liquipedia Results

Completed

BSL 2v2 Season 3
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL Season 20
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Jiahua Invitational
Championship of Russia 2025
RSL Revival: Season 1
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025

Upcoming

2025 ACS Season 2: Qualifier
CSLPRO Last Chance 2025
CSL Xiamen Invitational
2025 ACS Season 2
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
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
IEM Cologne 2025
FISSURE Playground #1
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.