• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 10:58
CET 15:58
KST 23:58
  • 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
Intel X Team Liquid Seoul event: Showmatches and Meet the Pros9[ASL20] Finals Preview: Arrival13TL.net Map Contest #21: Voting10[ASL20] Ro4 Preview: Descent11Team TLMC #5: Winners Announced!3
Community News
Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win52025 RSL Offline Finals Dates + Ticket Sales!10BSL21 Open Qualifiers Week & CONFIRM PARTICIPATION1Crank Gathers Season 2: SC II Pro Teams10Merivale 8 Open - LAN - Stellar Fest4
StarCraft 2
General
RotterdaM "Serral is the GOAT, and it's not close" Intel X Team Liquid Seoul event: Showmatches and Meet the Pros Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win Weekly Cups (Oct 13-19): Clem Goes for Four DreamHack Open 2013 revealed
Tourneys
SC4ALL $6,000 Open LAN in Philadelphia Kirktown Chat Brawl #9 $50 8:30PM EST 2025 RSL Offline Finals Dates + Ticket Sales! Merivale 8 Open - LAN - Stellar Fest Crank Gathers Season 2: SC II Pro Teams
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 497 Battle Haredened Mutation # 496 Endless Infection Mutation # 495 Rest In Peace Mutation # 494 Unstable Environment
Brood War
General
Ladder Map Matchup Stats Map pack for 3v3/4v4/FFA games BW General Discussion SnOw's ASL S20 Finals Review [ASL20] Ask the mapmakers — Drop your questions
Tourneys
[ASL20] Grand Finals Small VOD Thread 2.0 The Casual Games of the Week Thread BSL21 Open Qualifiers Week & CONFIRM PARTICIPATION
Strategy
PvZ map balance Current Meta How to stay on top of macro? Soma's 9 hatch build from ASL Game 2
Other Games
General Games
Nintendo Switch Thread Path of Exile Dawn of War IV Beyond All Reason Stormgate/Frost Giant Megathread
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
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
Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine US Politics Mega-thread The Big Programming Thread YouTube Thread
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece Korean Music Discussion Series you have seen recently...
Sports
TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion MLB/Baseball 2023 2024 - 2026 Football Thread NBA General Discussion
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 Recent Gifted Posts
Blogs
Career Paths and Skills for …
TrAiDoS
KPDH "Golden" as Squid Game…
Peanutsc
Reality "theory" prov…
perfectspheres
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1651 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 States3702 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
SC4ALL
14:00
SC4All Day 1
LiquipediaDiscussion
SC4ALL
14:00
SC4ALL - Day 1
RotterdaM292
IndyStarCraft 121
SteadfastSC84
CranKy Ducklings82
LiquipediaDiscussion
BSL Team A[vengers]
14:00
Day 3
Dewalt vs ZeLoT
UltrA vs ZeLoT
ZZZero.O115
LiquipediaDiscussion
Epic.LAN
12:00
Epic.LAN 46 Playoffs Stage
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Artosis 535
Lowko422
RotterdaM 292
IndyStarCraft 121
LamboSC2 101
Rex 94
SteadfastSC 84
Codebar 28
StarCraft: Brood War
Calm 6605
PianO 2572
Barracks 518
sorry 358
Last 206
ZZZero.O 115
zelot 86
Dewaltoss 80
Bonyth 72
HiyA 39
[ Show more ]
Shine 32
ToSsGirL 31
Rock 28
910 12
Terrorterran 11
Dota 2
Gorgc3506
qojqva2863
syndereN153
League of Legends
Reynor130
Counter-Strike
fl0m908
PGG 129
Heroes of the Storm
Khaldor282
Other Games
singsing1779
B2W.Neo1410
DeMusliM338
Hui .229
Liquid`LucifroN168
XcaliburYe143
KnowMe104
QueenE66
nookyyy 54
Mew2King52
Trikslyr8
Organizations
Counter-Strike
PGL22743
Other Games
gamesdonequick1001
StarCraft 2
ComeBackTV 63
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• StrangeGG 64
• Adnapsc2 16
• iHatsuTV 7
• IndyKCrew
• Migwel
• AfreecaTV YouTube
• intothetv
• Kozan
• LaughNgamezSOOP
• sooper7s
StarCraft: Brood War
• Michael_bg 5
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• WagamamaTV368
• Ler85
League of Legends
• Nemesis4075
Upcoming Events
BSL 21
4h 2m
BSL Team A[vengers]
23h 2m
Cross vs Sobenz
Sziky vs IcaruS
SC4ALL
1d
SC4ALL
1d
BSL 21
1d 4h
Replay Cast
1d 18h
Wardi Open
1d 21h
Monday Night Weeklies
2 days
Replay Cast
2 days
Sparkling Tuna Cup
2 days
[ Show More ]
WardiTV Korean Royale
2 days
Replay Cast
3 days
WardiTV Korean Royale
3 days
The PondCast
4 days
Korean StarCraft League
6 days
CranKy Ducklings
6 days
Liquipedia Results

Completed

CSL 2025 AUTUMN (S18)
CranK Gathers Season 2: SC II Pro Teams
Eternal Conflict S1

Ongoing

BSL 21 Points
BSL 21 Team A
C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
SC4ALL: Brood War
SC4ALL: StarCraft II
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
BLAST Open Fall Qual
Esports World Cup 2025

Upcoming

YSL S2
BSL Season 21
SLON Tour Season 2
BSL 21 Non-Korean Championship
RSL Offline Finals
WardiTV 2025
RSL Revival: Season 3
Stellar Fest
META Madness #9
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 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.