text stringlengths 1 1.05M |
|---|
; A195034: Vertex number of a square spiral in which the length of the first two edges are the legs of the primitive Pythagorean triple [21, 20, 29]. The edges of the spiral have length A195033.
; 0,21,41,83,123,186,246,330,410,515,615,741,861,1008,1148,1316,1476,1665,1845,2055,2255,2486,2706,2958,3198,3471,3731,4025,4... |
;;
;; Copyright (c) 2020-2021, Intel Corporation
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions are met:
;;
;; * Redistributions of source code must retain the above copyright notice,
;; this list of conditions and... |
; SPIR-V
; Version: 1.0
; Generator: Khronos Glslang Reference Front End; 10
; Bound: 267
; Schema: 0
OpCapability Shader
%1 = OpExtInstImport "GLSL.std.450"
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %4 "main" %9 %119
OpExecutionMode %4 Ori... |
; A193553: Sum of divisors of 4*n.
; 7,15,28,31,42,60,56,63,91,90,84,124,98,120,168,127,126,195,140,186,224,180,168,252,217,210,280,248,210,360,224,255,336,270,336,403,266,300,392,378,294,480,308,372,546,360,336,508,399,465,504,434,378,600,504,504,560,450,420,744,434,480,728,511,588,720,476,558,672,720,504,819,518,570,... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x1580a, %rsi
lea addresses_D_ht+0x810a, %rdi
nop
nop
add %rdx, %rdx
mov $22, %rcx
rep movsq
nop
nop
nop
nop
add %rbp, %rbp
lea addresses_WC_ht+0xe60a, %rdx
nop
nop
nop
nop
xor... |
;################################################################################
;# Título: Modulo de inicializacion en 16 bits #
;# #
;# Versión: 1.0 Fecha: 06/09/2015 #
;# Autor: J. Balloffet Tab: 4 #
;# Compilación: Usar Makefile #
;# Uso: - #
;# ----------------------------------... |
; A192970: Coefficient of x in the reduction by x^2 -> x+1 of the polynomial p(n,x) defined at Comments.
; 0,1,3,9,21,44,85,156,276,476,806,1347,2230,3667,6001,9787,15923,25862,41955,68006,110170,178406,288828,467509,756636,1224469,1981455,3206301,5188161,8394896,13583521,21978912,35562960,57542432,93105986,150649047,2... |
.data
msg1: .asciiz "o arithmos vrethike!"
msg2: .asciiz "dwse to plhthos ton arithmwn ston pinaka: "
msg3: .asciiz "dwse arithmo: "
msg4: .asciiz "dn vrethike"
.align 2
pinakas: .space 24
.text
main:
addi $v0,$0,4
la $a0, msg2
syscall
add $t1,$0,$0
addi $t3,$0,0
addi $v0,$0,5 #diavazei to plhthos twn stoixeiwn toy ... |
ldi $s0, 100
ldi $s1, 512
or $s0, $s1
wp $rr, 3
ldi $s0, 100
ldi $s1, 1024
or $s0, $s1
wp $rr, 3
ldi $s0, 2
ldi $s1, 1536
or $s0, $s1
wp $rr, 3
ldi $s0, 200
ldi $s1, 2560
or $s0, $s1
wp $rr, 3
ldi $s0, 200
ldi $s1, 2560
or $s0, $s1
wp $rr, 3
ldi $s0, 200
ldi $s1, 3072
or $s0, $s1
wp $rr, 3
ldi $... |
//#include "mediadatabase.h"
//#include <QtSql/qsqlquery.h>
//#include <QVariant>
//#include <QSqlError>
//// 连接music数据库
//void mediaDataBase::connectSongInfo()
//{
// QSqlDatabase datebase;
// if(QSqlDatabase::contains("qt_sql_default_connection"))
// datebase = QSqlDatabase::database("qt_sql_d... |
; A100147: Structured icosidodecahedral numbers.
; 1,30,135,364,765,1386,2275,3480,5049,7030,9471,12420,15925,20034,24795,30256,36465,43470,51319,60060,69741,80410,92115,104904,118825,133926,150255,167860,186789,207090,228811,252000,276705,302974,330855,360396,391645,424650,459459,496120,534681,575190,617695,662244,708... |
###############################################################################
# Copyright 2019 Intel Corporation
# All Rights Reserved.
#
# If this software was obtained under the Intel Simplified Software License,
# the following terms apply:
#
# The source code, information and material ("Material") containe... |
//
// Copyright 2016 Pixar
//
// Licensed under the Apache License, Version 2.0 (the "Apache License")
// with the following modification; you may not use this file except in
// compliance with the Apache License and the following modification to it:
// Section 6. Trademarks. is deleted and replaced with:
//
// 6. Trad... |
/*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be use... |
; showing 8-bit unsigned division
; - done in sub-routine
; - input: dividend in b and divisor in c
; - result: quotient in b and remainder in c
org 0000h
lxi sp,4000h
mvi b,20h
mvi c,30h
call do_divs
hlt
do_divs:
push h
mov l,b
mvi b,8 ; loop 8-times (8-bit)
xra a
mov h,a
loop:
dad h
mov a,h
cmp c
jc next
sub c
mov ... |
dnl AMD K6-2 mpn_copyd -- copy limb vector, decrementing.
dnl
dnl K6-2: 0.56 or 1.0 cycles/limb (at 32 limbs/loop), depending on data
dnl alignment.
dnl Copyright (C) 1999, 2000 Free Software Foundation, Inc.
dnl
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you ca... |
; A186371: Number of up-down runs in all permutations of {1,2,...,n}.
; Submitted by Jamie Morken(s1)
; 0,1,3,13,68,420,3000,24360,221760,2237760,24796800,299376000,3911846400,55005350400,828193766400,13294689408000,226663557120000,4090405423104000,77895546753024000,1561112121913344000,32844177110384640000,723788347432... |
ld hl, #1
ld de, #2
ld bc, #3
call $0621 |
; A188510: Expansion of x*(1 + x^2)/(1 + x^4) in powers of x.
; 0,1,0,1,0,-1,0,-1,0,1,0,1,0,-1,0,-1,0,1,0,1,0,-1,0,-1,0,1,0,1,0,-1,0,-1,0,1,0,1,0,-1,0,-1,0,1,0,1,0,-1,0,-1,0,1,0,1,0,-1,0,-1,0,1,0,1,0,-1,0,-1,0,1,0,1,0,-1,0,-1,0,1,0,1,0,-1,0,-1,0,1,0,1,0,-1,0,-1,0,1,0,1,0,-1,0,-1,0,1,0,1,0,-1,0,-1,0,1,0,1,0,-1,0,-1,0,1,... |
dc.w word_37002-Map_2PGoalMarker
dc.w word_37010-Map_2PGoalMarker
dc.w word_3701E-Map_2PGoalMarker
dc.w word_3702C-Map_2PGoalMarker
word_37002: dc.w 2 ; DATA XREF: ROM:00036FFAo
dc.b $EC, 2, 0, 0, $FF, $FC
dc.b 4, 1, 0, 3, $FF, $FC
word_37010: dc.w 2 ; DATA XREF: ROM:00036FFAo
dc.b $EC... |
/*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org
Copyright (c) 2000-2014 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any person obtai... |
; A263846: Floor of cube root of n-th prime.
; 1,1,1,1,2,2,2,2,2,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,8,8,8
seq $0,6005 ; The odd prime numbers together with 1.
seq $0,48766 ; Inte... |
; A199031: 2*12^n-1.
; 1,23,287,3455,41471,497663,5971967,71663615,859963391,10319560703,123834728447,1486016741375,17832200896511,213986410758143,2567836929097727,30814043149172735,369768517790072831,4437222213480873983,53246666561770487807,638959998741245853695,7667519984894950244351,92010239818739402932223,110412287... |
#include "cbase.h"
#include "c_basehlcombatweapon.h"
// memdbgon must be the last include file in a .cpp file!!!
#include "tier0/memdbgon.h"
class C_WeaponHandGrenade : public C_BaseHLCombatWeapon
{
public:
DECLARE_CLASS( C_WeaponHandGrenade, C_BaseHLCombatWeapon );
DECLARE_CLIENTCLASS();
DECLARE_PREDICTABLE();
D... |
ICW1 equ 00010001b ; ICW4 needed
ICW3_MASTER equ 00000100b
ICW3_SLAVE equ 00000010b
ICW4 equ 00000001b ; 8086/88 mode
PIC1 equ 0x20 ; IO base address for master 8259 PIC
PIC2 equ 0xa0 ; addr for slave PIC
PIC1_CMD equ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r15
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0xf59c, %rdx
and $6315, %rdi
mov (%rdx), %r12w
nop
nop
add $1642, %r15
lea addresses_normal_ht+0x1d6e8, %rsi
lea addresses_A_ht+0x18188, %rdi
nop
xor $52538, %r12
mov $104,... |
_ln: 檔案格式 elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char *argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
if(argc != 3){
7: 83 39 03 cmpl $0x3,(%ecx)
#inclu... |
/*
* Copyright Copyright 2012, System Insights, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... |
; A316297: a(n) = n! times the denominator of the n-th harmonic number H(n).
; Submitted by Jon Maiga
; 1,4,36,288,7200,14400,705600,11289600,914457600,9144576000,1106493696000,13277924352000,2243969215488000,31415569016832000,471233535252480000,15079473128079360000,4357967734014935040000,26147806404089610240000
mov $... |
include xlibproc.inc
include Wintab.inc
PROC_TEMPLATE WTMgrOpen, 2, Wintab, -, 100
|
// RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s
namespace PR10622 {
struct foo {
const int first;
foo(const foo&) = default;
};
void find_or_insert(const foo& __obj) {
foo x(__obj);
}
struct bar : foo {
bar(const bar&) = default;
};
void test_bar(const bar &obj) {
bar obj2(obj... |
db 0 ; species ID placeholder
db 68, 65, 65, 80, 125, 115
; hp atk def spd sat sdf
db PSYCHIC, PSYCHIC ; type
db 45 ; catch rate
db 208 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 20 ; step cycles to hatch
INCBIN "gfx/pokemon/gardevoir/front.dimensions"
db GROWTH_SLOW ... |
_zombie: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(void)
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
a: 55 pus... |
; A079004: Least x>=3 such that F(x)==1 (mod 3^n) where F(x) denotes the x-th Fibonacci number (A000045).
; 7,10,10,34,106,322,970,2914,8746,26242,78730,236194,708586,2125762,6377290,19131874,57395626,172186882,516560650,1549681954,4649045866,13947137602,41841412810,125524238434,376572715306,1129718145922
mov $1,$0
mi... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x58ef, %rsi
lea addresses_WT_ht+0x88ef, %rdi
nop
xor $27193, %r8
mov $67, %rcx
rep movsw
nop
nop
and %rbp, %rbp
lea addresses_normal_ht+0x2fcf, %rdi
clflush (%rdi)
nop
nop
xor $... |
TTL C:\Documents and Settings\administrator.HPT-OFFICE\Desktop\HPT Graphics\asm.asm
EXPORT HPTMemCpyFastSARM
EXPORT HPTMemCpyFastXSCALE
EXPORT PageFlip
EXPORT HPTPartialBlt
EXPORT HPTPartialBltH
EXPORT HPTPartialBltV
EXPORT HPTPartialBltHV
EXPORT HPTPartialBltO
EXPORT HPTPartialBltHO
EXPORT HPTPartialBltVO
... |
/**
* Copyright (c) 2020 Mobvoi Inc. (authors: Fangjun Kuang)
* Xiaomi Corporation (authors: Haowen Qiu)
*
* See LICENSE for clarification regarding multiple authors
*/
#include "k2/csrc/host/fsa_renderer.h"
#include <iomanip>
#include <sstream>
#include <string>
namespace {
std::... |
; A315399: Coordination sequence Gal.4.43.4 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; Submitted by Simon Strandgaard
; 1,6,11,15,19,23,27,32,38,44,49,53,57,61,65,70,76,82,87,91,95,99,103,108,114,120,125,129,133,137,141,146,152,... |
; A013698: a(n) = binomial(3*n+2, n-1).
; 1,8,55,364,2380,15504,100947,657800,4292145,28048800,183579396,1203322288,7898654920,51915526432,341643774795,2250829575120,14844575908435,97997533741800,647520696018735,4282083008118300,28339603908273840,187692294101632320,1243918491347262900,8249183865278257824,54737645114759... |
; A067707: a(n) = 3*n^2 + 12*n.
; 15,36,63,96,135,180,231,288,351,420,495,576,663,756,855,960,1071,1188,1311,1440,1575,1716,1863,2016,2175,2340,2511,2688,2871,3060,3255,3456,3663,3876,4095,4320,4551,4788,5031,5280,5535,5796,6063,6336,6615,6900,7191,7488,7791,8100,8415,8736,9063,9396,9735,10080,10431,10788,11151,11520,1... |
; A298252: Even integers n such that n-3 is prime.
; Submitted by Jon Maiga
; 6,8,10,14,16,20,22,26,32,34,40,44,46,50,56,62,64,70,74,76,82,86,92,100,104,106,110,112,116,130,134,140,142,152,154,160,166,170,176,182,184,194,196,200,202,214,226,230,232,236,242,244,254,260,266,272,274,280,284,286,296,310,314,316,320,334,340... |
; A022412: Expansion of 1/((1-x)(1-5x)(1-6x)(1-11x)).
; Submitted by Jon Maiga
; 1,23,356,4690,57015,663621,7538098,84446336,938561525,10384529155,114604142016,1262952525198,13906624731091,153059279644385,1684178151097070,18529154259093436,203840055167045073
add $0,2
lpb $0
sub $0,1
add $2,2
mul $2,5
sub $2,9
... |
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it wil... |
;;
;; Copyright (c) 2017-2021, Intel Corporation
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions are met:
;;
;; * Redistributions of source code must retain the above copyright notice,
;; this list of conditions and... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r15
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x8046, %rbp
clflush (%rbp)
nop
nop
nop
nop
inc %r13
mov (%rbp), %r15d
nop
nop
nop
nop
nop
and $53031, %r10
lea addresses_normal_ht+0x9446, %rsi
lea addresses_D_ht+0x1b446, %rdi
nop
nop... |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#include "stdafx.h"
using nam... |
#ifndef __INVERTED_PENGUIN__EXCEPTIONS__INVERTEDPENGUINEXCEPTION_HPP__
#define __INVERTED_PENGUIN__EXCEPTIONS__INVERTEDPENGUINEXCEPTION_HPP__
#include <pistis/exceptions/PistisException.hpp>
#include <string>
namespace inverted_penguin {
namespace exceptions {
class InvertedPenguinException :
public pi... |
.data
linebrk: .asciiz "\n"
.text
main:
li $s0, 1 # $s0 = loop counter
li $s1, 10 # $s1 = upper bound of loop
loop:
move $a0, $s0 # print loop counter $s0
li $v0, 1
syscall
li $v0, 4 # print new line
la $a0, linebrk
syscall
addi $s0, $s0, 1 # increase counter by 1
ble $s0, $s1, loop # if ... |
; A218376: a(n) = 5^n*sum_{i=1..n} i^5/5^i.
; Submitted by Jamie Morken(s1)
; 0,1,37,428,3164,18945,102501,529312,2679328,13455689,67378445,337053276,1685515212,8427947353,42140274589,210702132320,1053511710176,5267559970737,26337801743253,131689011192364,658445059161820
mov $3,$0
mov $5,$0
lpb $3
mov $0,$5
sub $3... |
add x16, x15, x5 |
; Sony SMC-777 console
;
SECTION code_clib
PUBLIC generic_console_cls
PUBLIC generic_console_vpeek
PUBLIC generic_console_scrollup
PUBLIC generic_console_printc
PUBLIC generic_console_set_ink
PUBLIC generic_console_set_paper
PUBLIC generic_consol... |
; A002063: a(n) = 9*4^n.
; 9,36,144,576,2304,9216,36864,147456,589824,2359296,9437184,37748736,150994944,603979776,2415919104,9663676416,38654705664,154618822656,618475290624,2473901162496,9895604649984,39582418599936,158329674399744,633318697598976,2533274790395904,10133099161583616,40532396646334464,16212958658533785... |
/***************************************************************************
Cisco Heat & F1 GrandPrix Star
(c) 1990 & 1991 Jaleco
driver by Luca Elia (eliavit@unina.it)
Note: if MAME_DEBUG is defined, pressing Z with:
Q,W,E shows scroll 0,1,2
R,T shows road 0,1
A,S,D,F ... |
/*
* File Tangram.cpp in project ThreeEngine
*
* Copyright (C) Ricardo Rodrigues 2017 - All Rights Reserved
*/
#include <cmath>
#include "MyEngine.h"
#include "../../../3Engine/src/Shapes/MeshLoader.h"
#include "../../../3Engine/src/Shader/TextureLoader.h"
#include "../../../3Engine/src/Camera/Perspective.h"
#inc... |
/*
Copyright (c) 2015 - 2022 Advanced Micro Devices, Inc. All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use... |
ori $ra,$ra,0xf
div $6,$ra
sll $1,$6,24
lb $5,5($0)
srav $5,$1,$3
sll $6,$5,3
sll $4,$0,27
mult $1,$3
div $5,$ra
sb $5,12($0)
divu $2,$ra
mflo $2
lb $6,15($0)
lui $6,42828
mflo $2
mtlo $3
sll $1,$2,30
sll $1,$6,15
sb $2,6($0)
mult $4,$2
mult $4,$5
addu $1,$1,$1
mtlo $2
multu $3,$5
mult $1,$2
multu $1,$2
mthi $4
ori $1,... |
; Test to make sure moves do not happen if they will break jrs
ld a, 1
jp label1
label2:
jr nc,label4
jr label2
label4:
jr label4
label6:
REPT 128
nop
ENDM
label5:
jr label5
label1:
add a,b
jr nc,label3
jp label2
label3:
jr label3
|
;
; Comment
;
; === STACK SEGMENT ===
MyStack segment stack
DB 64 dup('12345678')
MyStack endS
; === DATA SEGMENT ===
MyData segment
; --- Declare your variables here ---
printme DB "NATIONAL",0Ah,"COMPUTER",0Ah,"CAMP",13,10,07h,"$"
MyData endS
MyCode segment
Assume CS:Mycode,DS:MyData
;Includes go here
;En... |
// Copyright (c) 2011-2019 Bitcoin Developers
// Copyright (c) 2014-2019 Dash Developers
// Copyright (c) 2015-2019 PIVX Developers
// Copyright (c) 2018-2019 True Crypto OSS Community
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-lice... |
; Are data offsets relative to segment or group?
; The question only makes sense for a segment in a group.
; A difference will only be shown when another segment comes before it in the group.
; The problem is only relevant in EXE, not in COM where all is one segment anyway.
; data displacement [disp], [si+disp]
; ... |
; A039703: a(n) = n-th prime modulo 5.
; Submitted by Jon Maiga
; 2,3,0,2,1,3,2,4,3,4,1,2,1,3,2,3,4,1,2,1,3,4,3,4,2,1,3,2,4,3,2,1,2,4,4,1,2,3,2,3,4,1,1,3,2,4,1,3,2,4,3,4,1,1,2,3,4,1,2,1,3,3,2,1,3,2,1,2,2,4,3,4,2,3,4,3,4,2,1,4,4,1,1,3,4,3,4,2,1,3,2,4,2,1,4,3,4,1,3,1
mul $0,2
max $0,1
seq $0,173919 ; Numbers that are pr... |
; A201824: G.f.: Sum_{n>=0} log( 1/sqrt(1-2^n*x) )^n / n!.
; 1,1,3,20,330,15504,2324784,1198774720,2214919483920,14955617450039552,372282884729800002816,34307640086657221926620160,11737947382912650038702322439680
mov $1,2
mov $2,$0
sub $2,1
pow $1,$2
add $1,$2
bin $1,$0
mov $0,$1
|
;------------------------------------------------------------------------------
; @file
; 16-bit initialization code
;
; Copyright (c) 2008 - 2009, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
;-----------------------------------------------------------------------... |
// Copyright (c) 2012-2018 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <rpc/server.h>
#include <rpc/client.h>
#include <core_io.h>
#include <key_io.h>
#include <netbase.h>
#include <tes... |
BITS 16
ORG 0x7C00
%define STAGE2_LOCATION 0x60000
%define DECOMPRESSOR_LOCATION 0x70000
%define BOOT_FROM_CD 2
jmp skip_bpb
nop
; El Torito Boot Information Table
; ↓ Set by mkisofs
times 8-($-$$) db 0
boot_info:
bi_PVD dd 0
bi_boot_LBA dd 0
bi_boot_len dd 0
bi_checksum dd 0
bi_reserv... |
global long_mode_start
extern kernel_main
section .text
bits 64
long_mode_start:
mov ax, 0
mov ss, ax
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
; print
call kernel_main
hlt |
; A081106: 6th binomial transform of (1,1,0,0,0,0,...).
; 1,7,48,324,2160,14256,93312,606528,3919104,25194240,161243136,1027924992,6530347008,41358864384,261213880320,1645647446016,10344069660672,64885527871488,406239826673664,2538998916710400
mov $1,$0
lpb $0,1
sub $0,1
add $1,5
mul $1,6
lpe
div $1,6
add $1,1
|
;
; USRROM TEMPLATE FOR A CUSTOM USER ROM
;
#INCLUDE "std.asm"
;
CR .EQU 0DH
LF .EQU 0AH
;
.ORG USR_LOC
;
LD SP,USR_END
;
LD HL,BOOTMSG ; INTRODUCTION
CALL PRTSTR
;
CALL CIN ; DO STUFF
;
LD B,BF_SYSRESET ; SYSTEM RESTART
LD C,BF_SYSRES_WARM ; WARM START
CALL $FFF0 ; CALL HBIOS
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r15
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xc0f9, %r9
nop
xor %r15, %r15
movb (%r9), %bl
nop
nop
xor $44203, %rbp
lea addresses_WT_ht+0x14ef9, %rcx
nop
nop
add $51555, %r13
mov $0x6162636465666768, %r11
movq %... |
; ***************************************************************************************
; ***************************************************************************************
;
; Name : kernel.asm
; Author : Paul Robson (paul@robsons.org.uk)
; Date : 13th January 2019
; Purpose : Machine Forth Kernel
;
; *... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x1d702, %rsi
lea addresses_WT_ht+0x858a, %rdi
nop
nop
nop
sub $8702, %r10
mov $84, %rcx
rep movsb
nop
nop
nop
nop
nop
add %r15, %r15
lea addresses_UC_ht+0x1d262, %rsi
lea addr... |
dnl mpn_lshift
dnl Copyright 2009 Jason Moxham
dnl This file is part of the MPIR Library.
dnl The MPIR Library is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU Lesser General Public License as published
dnl by the Free Software Foundation; either version 2.1 of the Lice... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Video Drivers
FILE: vga8Pointer.asm
AUTHOR: Jim DeFrisco, Oct 8, 1992
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:... |
; A291358: The arithmetic function u(n,2,4).
; 5,2,3,2,5,2,5,2,3,2,5,2,5,2,3,2,5,2,5,2,3,2,5,2,5,2,3,2,5,2,5,2,3,2,5,2,5,2,3,2,5,2,5,2,3,2,5,2,5,2,3,2,5,2,5,2,3,2,5,2,5,2,3,2,5,2,5,2,3,2,5,2,5,2,3,2,5,2,5,2,3,2,5,2,5,2,3,2,5,2,5,2,3,2,5,2,5,2,3,2
mod $0,6
mov $1,4
gcd $1,$0
add $1,1
mov $0,$1
|
###############################################################################
# Copyright 2019 Intel Corporation
# All Rights Reserved.
#
# If this software was obtained under the Intel Simplified Software License,
# the following terms apply:
#
# The source code, information and material ("Material") containe... |
page ,132
title COMMAND2 - resident code for COMMAND.COM part II
name COMMAND2
;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1991
; * All Rights Reserved.
; */
;
; Revision History
; ================
;
; M038 SR 11/5/90 Changed... |
; A104473: a(n) = binomial(n+2,2)*binomial(n+6,2).
; 15,63,168,360,675,1155,1848,2808,4095,5775,7920,10608,13923,17955,22800,28560,35343,43263,52440,63000,75075,88803,104328,121800,141375,163215,187488,214368,244035,276675,312480,351648,394383,440895,491400,546120,605283,669123,737880,811800,891135,976143,1067088,11642... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r8
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x1d129, %rsi
cmp %r12, %r12
mov (%rsi), %r8
nop
add %rdx, %rdx
lea addresses_WT_ht+0x13c09, %rbx
nop
nop
nop
nop
nop
add $17924, %rcx
movw $0x6162, (%rbx)
cmp %r14, %r14
lea a... |
#include "top.h"
void dnn_LeNet(in_t data_port[PORT_CFG::in_mem], ker_t kernel_port[PORT_CFG::ker_mem], res_t output_port[PORT_CFG::out_mem])
{
interface intf;
dnn_layers dnn;
in_t L1_in [L1_CONV::lyr_in][L1_CONV::w_in][L1_CONV::w_in];
ker_t L1_ker [L1_CONV::lyr_out][L1_CONV::w2_ker];
ker_t L3_ker [L... |
lsr
lsr |
;+---------------------------------+
;| SECTOR 2 - Secondary Bootloader |
;+---------------------------------+
[bits 16]
[org 0x0500]
; ----- Main -----
; Setup Segments and Stack
cli
mov ax, 0x0000
mov ds, ax
mov es, ax
mov ax, 0x9000
mov ss, ax
mov sp, 0xFFFF
sti
mov si, Stg2Msg
call Print
ca... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2016 Intel Corporation All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions
; are met:
; * Redistributions of so... |
/*
* Copyright (c) 2017, Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publi... |
; ===============================================================
; Jun 2007
; ===============================================================
;
; void *zx_aaddrcup(void *aaddr)
;
; Modify attribute address to move up one character square.
;
; ===============================================================
SECTION co... |
;
; Z88 Graphics Functions - Small C+ stubs
;
; Written around the Interlogic Standard Library
;
; Stubs Written by D Morris - 30/9/98
;
;
; $Id: drawto.asm,v 1.8 2016-07-02 09:01:35 dom Exp $
;
;Usage: drawto(struct *pixels)
SECTION code_clib
PUBLIC draw... |
CGROUP group code
code segment dword 'CODE'
assume cs:CGROUP,ds:CGROUP
public pj_tnskip
;pj_tnskip(Pixel *s1,Pixel *s2,int bcount,int mustmatch);
pj_tnskip proc near
tnkp struc ;pj_tnskip parameter structure
tnk_ebp dd ?
tnk_ret dd ? ;return address for function
tnk_s1 dd ? ;1st parameter
tnk_s... |
; A230929: Number of black-square subarrays of (n+2) X (2+2) 0..3 arrays x(i,j) with each element diagonally or antidiagonally next to at least one element with value (x(i,j)+1) mod 4, no adjacent elements equal, and upper left element zero.
; 2,6,16,48,146,438,1312,3936,11810,35430,106288,318864,956594,2869782,8609344... |
; A033648: Trajectory of 3 under map x->x + (x-with-digits-reversed).
; Submitted by Jon Maiga
; 3,6,12,33,66,132,363,726,1353,4884,9768,18447,92928,175857,934428,1758867,9447438,17794887,96644658,182289327,906271608,1712444217,8836886388,17673772776,85401510447,159803020905,668823329856,1327746658722,3606313135953,720... |
; A176631: Triangle T(n, k) = 22^(k*(n-k)), read by rows.
; 1,1,1,1,22,1,1,484,484,1,1,10648,234256,10648,1,1,234256,113379904,113379904,234256,1,1,5153632,54875873536,1207269217792,54875873536,5153632,1,1,113379904,26559922791424,12855002631049216,12855002631049216,26559922791424,113379904,1
seq $0,4247 ; Multiplicat... |
version https://git-lfs.github.com/spec/v1
oid sha256:b8e079e49b398b576190d3de4a497e00b2e15d1db8e7b244df7a9b2b943e8944
size 3907
|
global install_new_module
global install_replace_module
extern module_binary
include "../include/spectranet.inc"
include "../include/sysvars.inc"
STR_install_message:
defb "Installing Spectranet Search Index...\n", 0
STR_install_fail:
defb "Failed!\n", 0
install_replace_module:
ld (v_workspace), a
a... |
;=============================================================================
; @file loader.asm
;
; A second-stage boot loader suitable for an El Torito ISO 9660 cdrom image.
;
; This boot loader is executed after the first stage loader completes. Its
; responsibility is to load the kernel into memory, place the CPU ... |
; A025768: Expansion of 1/((1-x)*(1-x^3)*(1-x^7)).
; 1,1,1,2,2,2,3,4,4,5,6,6,7,8,9,10,11,12,13,14,15,17,18,19,21,22,23,25,27,28,30,32,33,35,37,39,41,43,45,47,49,51,54,56,58,61,63,65,68,71,73,76,79,81,84,87,90,93,96
mov $3,$0
sub $3,1
mul $3,$0
mul $0,2
mov $1,$3
div $1,6
lpb $0
add $1,$0
mov $0,$2
div $1,7
lpe
a... |
/*
* File : interrupt.s34
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2009, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
*
* Change Logs:
* Date ... |
dw $0040
track_1D_08:
db $FF, $18, $97, $DE, $63, $FE, $1A, $7E, $E6, $34
db $ED, $FC, $70, $30, $F5, $77, $87, $88, $F3, $5D
db $DC, $0C, $0F, $FD, $E8, $E9, $C4, $BE, $EA, $A3
db $EE, $FD, $2F, $3F, $A8, $F6, $8C, $4B, $AC, $E1
db $D3, $48, $F3, $1E, $86, $BB, $B1, $E0, $EF, $3C
db $76, $BB, $BA, $9C, $27, $8F... |
; A109165: a(n) = 5*a(n-2) - 2*a(n-4), n >= 4; a(n) = (1/6)*(-1)^n + 4/3)*2^n - 1/2.
; Submitted by Jon Maiga
; 1,2,5,10,23,46,105,210,479,958,2185,4370,9967,19934,45465,90930,207391,414782,946025,1892050,4315343,8630686,19684665,39369330,89792639,179585278,409593865,819187730,1868384047,3736768094,8522732505
mov $1,1... |
; A027937: a(n) = T(2*n, n+1), T given by A027935.
; 1,7,26,79,221,596,1581,4163,10926,28635,75001,196392,514201,1346239,3524546,9227431,24157781,63245948,165580101,433494395,1134903126,2971215027,7778742001,20365011024,53316291121,139583862391,365435296106,956722025983,2504730781901,6557470319780,17167680177501,449455... |
; A052939: Expansion of (1-x)*(1+x)/(1-3*x-x^2+2*x^3).
; Submitted by Jamie Morken(s1)
; 1,3,9,28,87,271,844,2629,8189,25508,79455,247495,770924,2401357,7480005,23299524,72575863,226067103,704178124,2193449749,6832393165,21282272996,66292312655,206494424631,643211040556,2003542920989,6240850954261,19439673702660,605527... |
; A332057: Partial sums (and absolute value of first differences) of A332056: if odd (resp. even) add (resp. subtract) the partial sum to get the next term.
; 1,3,2,3,7,4,5,11,6,7,15,8,9,19,10,11,23,12,13,27,14,15,31,16,17,35,18,19,39,20,21,43,22,23,47,24,25,51,26,27,55,28,29,59,30,31,63,32,33,67,34,35,71,36,37,75,38,3... |
; A222470: Numerator sequence of the n-th convergent of the continued fraction 1/(1-2/(2-2/(3-2/(4-...
; Submitted by Jon Maiga
; 1,2,4,12,52,288,1912,14720,128656,1257120,13571008,160337856,2057250112,28480825856,423097887616,6712604550144,113268081577216,2025400259289600,38256068763347968,761070574748380160
mov $2,1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.