• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 15:26
CEST 21:26
KST 04:26
  • 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
[ASL22] Finals Preview: Sweet Victory!9[ASL22] Ro4 Preview: Mirror Mirror6[ASL22] Ro8 Preview: Within Reach5[ASL22] Ro8 Preview: In A Tizzy11[ASL22] Ro16 Preview: Holy Diver5
Community News
[$1250] International ShieldBattery League23Weekly Cups (October 5-11): Farewell to 5.0.162Rollback Netcode in Brood War1265.0.17 Patch Notes - October 7, 202624Weekly Cups Results (Sep 28-Oct 4)0
StarCraft 2
General
Server Blocker Terran AddOns placement SCII needs to put more weight on strategy and tact How do you feel about the mass reverts in the 5.0.17 PTR? Team Liquid Map Contest #22: Results and Winners
Tourneys
Stellar Fest TWO the Moon (Dec 16-20) Sparkling Tuna Cup - Weekly Open Tournament Master Swan Open (Global Bronze-Master 2) $3,500 WardiTV Not-Summer Championship ISSL (IntoTheTV x SOOP SC2 League): Premier
Strategy
[H] ZvP Mid-Late Game: Stalkers Collossi HT
Custom Maps
[G] How to playtest arcade maps [A] Nemrods 1/4 players [M] (2) Sweltering Sands [M] (2) Frigid Storage
External Content
The PondCast: SC2 News & Results Mutation # 547 Temple Of Terror Mutation # 546 Catch the Train Mutation # 545 And Drops and Rifts
Brood War
General
Rollback Netcode in Brood War GG Lan Fest Sofia, Bulgaria [this November] [Megathread] Daily Funny Videos [Recap] Hive ZvZ in MonstarZ vs Dreams [ASL22] Finals Preview: Sweet Victory!
Tourneys
[$1250] International ShieldBattery League [ASL22] Grand Finals 2v2v2v2 Tournament Small VOD Thread 2.0
Strategy
Cliff Jump Revisited (1 in a 1000 strategy) Simple Questions, Simple Answers Replay Review Process - What do you do?
Other Games
General Games
Dawn of War IV Warcraft III: The Frozen Throne Stormgate/Frost Giant Megathread Nintendo Switch Thread General RTS Discussion Thread
Dota 2
Dota 2 Champions League Season 3 Begins April 25!
League of Legends
[TL LoL EUW IHs] Teemo shall perish
Heroes of the Storm
Heroes of the Storm 2.0
Hearthstone
Deck construction bug
TL Mafia
TL Mafia Community Thread
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread Artificial Intelligence Thread The Chess Thread Things Aren’t Peaceful in Palestine
Fan Clubs
Serral Fan Club
Media & Entertainment
Movie Discussion! [Manga] One Piece
Sports
MLB/Baseball 2023 Football (Soccer) Thread TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Recent Gifted Posts
Blogs
The Link Between Gaming and …
TrAiDoS
[ASL22] Ro4 Day1 Ticket Giv…
bITt.mAN
38 yo Retired SWE loo…
PurE)Rabbit-SF
Can Bots Beat Pros?? Starcr…
namkraft
[meme] I finally understa…
LUCKY_NOOB
Customize Sidebar...

Website Feedback

Closed Threads



Active: 9919 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 States3721 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 Open Qualifier
04:00
Pro & Gosu - Last Chance #1
LiquipediaDiscussion
AI Arena Tournament
01:00
Swiss - Round 6
Laughngamez YouTube
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
BRAT_OK 66
MindelVK 27
EmSc Tv 16
StarCraft: Brood War
Britney 21606
Shuttle 528
White-Ra 172
Dewaltoss 101
HiyA 88
Mind 81
910 52
ZZZero.O 39
Barracks 33
soO 14
Dota 2
canceldota121
League of Legends
JimRising 372
Counter-Strike
fl0m4885
Heroes of the Storm
Grubby2366
Other Games
summit1g6658
FrodaN787
B2W.Neo680
Khaldor561
Cr1tdota466
byalli454
Liquid`Hasu287
KnowMe251
crisheroes160
Organizations
Other Games
gamesdonequick712
StarCraft 2
angryscii 31
EmSc Tv 16
EmSc2Tv 16
[ Show 24 non-featured ]
StarCraft 2
• printf 84
• StrangeGG 66
• Adnapsc2 40
• 3DClanTV 29
• Reevou 8
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• Migwel
StarCraft: Brood War
• Airneanach43
• blackmanpl 20
• 80smullet 18
• Azhi_Dahaki8
• Michael_bg 6
• Pr0nogo 1
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 4718
League of Legends
• Nemesis3309
• Jankos2217
Other Games
• imaqtpie670
• Shiphtur505
Upcoming Events
Sparkling Tuna Cup
14h 34m
OSC
17h 34m
IPSL
20h 34m
BSL Open Qualifier
23h 34m
WardiTV Weekly
1d 15h
IntoTheTV X SOOP
2 days
PiGosaur Cup
3 days
The PondCast
3 days
Kung Fu Cup
3 days
IntoTheTV X SOOP
4 days
[ Show More ]
FEL
6 days
Liquipedia Results

Completed

Super Anchor Qualifying S3
Blizzard Classic Cup 2026
Copium Cup

Ongoing

Acropolis #5
KCM Race Survival 2026 Season 4
Acropolis #5 - GSC
HCC Season 3
Thunderpick World Champ. '26
ESL Pro League Season 24
Stake Ranked Episode 4
1win Private Club #1
Logitech G Play Connect 2026
SL StarSeries Fall 2026
FISSURE Playground #3
BLAST Open Fall 2026
Esports World Cup 2026

Upcoming

BSL Season 23
SC4ALL II: Brood War
BSL 23: Non-Korean Championship
HSC XXX
Stellar Fest 2: Lunar Cup
SC4ALL II: StarCraft II
Kung Fu Cup 2026 Grand Finals
RSL Offline Finals
eXTREMESLAND 2026
PGL Major Singapore 2026
Stake Ranked Episode 6
BLAST Rivals Fall 2026
IEM Beijing 2026
Stake Ranked Episode 5
PGL Masters Bucharest 2026
1win Private Club #2
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 © 2026 TLnet. All Rights Reserved.