Skip to content

Instantly share code, notes, and snippets.

E11>dep 36 8
E11>
E11>dep 36 8 10
E11>g step
R0/000000 R1/000000 R2/000000 R3/000010 CM=K PM=K PRIO=0
CLR R5
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 N 0
Z 0
V 0
C 0
SEC
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 N 0
Z 0
; 2^i * Y
MOV R5, R4
TSTR4: TST R4
BEQ TSTSUB
ASL R2 ; ASL for DP is SHIFT HIGH, then ADC
ASL R3 ; Y is DP
ADC R2
DEC R4
BR TSTR4
import xlrd
import os
path = "C:\\users\\nx7233pl\\Documents\\school\\STAT210\\"
output = path + "bike-stops.txt"
book = xlrd.open_workbook(path + "citibike-concat-stops.xlsx")
print(book.sheet_names()) # []
sheet = book.sheet_by_index(0) # Index out of bounds
firstCell = (1,16)
def checkPred(myString):
predicates = 0
for line in myString:
myLine = line
while "//" in myLine:
myLine = line.split("//")[0] # Gets the part of the string BEFORE "//"
words = []
for word in myLine:
/* Aurora Pariseau
Floating point arithmetic
*/
import java.util.*;
class main
{
public static void main (String args[])
{
if dndPlayers[vindex]['shield'] > 0:
if dndPlayers[vindex]['shield'] >= damage:
dndPlayers[vindex]['shield'] -= damage
victim.health += damage
playerMessage(vindex, 'Your shield blocked %s damage'%damage)
else:
victim.health += dndPlayers[vindex]['shield']
playerMessage(vindex, 'Your shield blocked %s damage and is now depeleted'%dndPlayers[vindex]['shield'])
dndPlayers[vindex]['shield'] = 0
. Nutrition: the science of food, the nutrients and other substances therein, their action, interaction and balance in relation to health and disease, and the processes by which the organism ingests, absorbs, transports, utilizes and excretes food substances (Nutrition and Diet Therapy Reference, 1996).In order to get a further understanding of nutrition, describing nutrients is necessary as well as their purpose and function. According to the British Nutrition Foundation’s (BNF) website, a nutrient provides energy or a source for growth and maintenance of the body. Nutrients are categorized by macro- and micro-nutrients.
Macronutrients include carbohydrates, orotein, and fats. The BNF declares these are the nutrients organisms need the largest amounts of as they are responsible for energy and growth and maintenance. Micronutrients are essentials that are not needed in as large amounts, such as vitamins and minerals.It is important to note that not all vital components of a healthy diet are defined as a nut
median = 0
if len(stats)%2 == 0:
median = (stats[len(stats)/2] + stats[len(stats)/2]) / 2
else:
stats[len(stats)/2] + 1
function checkNested(obj /*, level1, level2, ... levelN*/) {
var args = Array.prototype.slice.call(arguments, 1);
for (var i = 0; i < args.length; i++) {
if (!obj || !obj.hasOwnProperty(args[i])) {
return false;
}
obj = obj[args[i]];
}