text stringlengths 1 1.05M |
|---|
; A154615: a(n) = A022998(n)^2.
; 0,1,16,9,64,25,144,49,256,81,400,121,576,169,784,225,1024,289,1296,361,1600,441,1936,529,2304,625,2704,729,3136,841,3600,961,4096,1089,4624,1225,5184,1369,5776,1521,6400,1681,7056,1849,7744,2025,8464,2209,9216,2401,10000,2601,10816,2809,11664,3025,12544,3249,13456,3481,14400,3721,15376... |
.model small
.stack 120h
.data
skin DB 14d
clothes1 byte 06d
clothes2 byte 04d
unique byte 13d
.code
main proc
mov AX, @data
mov DS, AX
mov AX, 0
mov ah, 0
mov al, 13H
int 10h
mov CX, 160d
mov DX, 100d
push CX
mov ah, 0ch
mov al,... |
class Solution {
public:
bool isSubsequence(string s, string t) {
int n = s.size(), j = 0;
if(n == 0)
return true;
for(int i = 0; i < t.size(); i++)
{
if(t[i] == s[j])
j++;
if(j == n)
return true;
}
... |
; A191637: a(n) = floor((1 + 4^n)/(1 + 2*n)).
; 1,3,9,28,93,315,1092,3855,13797,49932,182361,671088,2485513,9256395,34636833,130150524,490853405,1857283155,7048151460,26817356775,102280151421,390937467653,1497207322929,5744387279809,22076468761620,84973577874915,327534518354217,1264168316454876,4885260612740877,1890035... |
tilepal 0, GRAY, GREEN, GRAY, RED, GRAY, GRAY, GRAY, BROWN
tilepal 0, BROWN, BROWN, ROOF, ROOF, ROOF, ROOF, ROOF, ROOF
tilepal 0, ROOF, ROOF, ROOF, GREEN, WATER, GRAY, GRAY, BROWN
tilepal 0, BROWN, BROWN, RED, BROWN, BROWN, BROWN, GREEN, GREEN
tilepal 0, BROWN, RED, BROWN, BROWN, BROWN, ROOF, GREEN, BROWN
tilepal... |
; Triumph Adler Alphatronic PC crt0
;
MODULE alphatro_crt0
;--------
; Include zcc_opt.def to find out some info
;--------
defc crt0 = 1
INCLUDE "zcc_opt.def"
;--------
; Some scope definitions
;--------
EXTERN _main ; main() is always external to cr... |
; A059435: Number of lattice paths in plane starting at (0,0) and ending at (n,n) with steps from {(i,j): i+j > 0, i, j >= 0} that never go below the line y = x.
; Submitted by Christian Krause
; 1,2,12,88,720,6304,57792,547712,5323008,52761088,531311616,5420488704,55905767424,581954543616,6106210615296,64513688174592,... |
;
; feilipu, 2019 May
;
; This Source Code Form is subject to the terms of the Mozilla Public
; License, v. 2.0. If a copy of the MPL was not distributed with this
; file, You can obtain one at http://mozilla.org/MPL/2.0/.
;
;-------------------------------------------------------------------------
; Coefficients f... |
; A091627: Number of ordered integer pairs (b,c) with 1 <= b,c <= n such that both roots of x^2+bx+c=0 are integers.
; 0,0,1,2,4,5,7,8,10,12,14,15,18,19,21,23,26,27,30,31,34,36,38,39,43,45,47,49,52,53,57,58,61,63,65,67,72,73,75,77,81,82,86,87,90,93,95,96,101,103,106,108,111,112,116,118,122,124,126,127,133,134,136,139,1... |
SECTION code_fp_math32
PUBLIC ___ulong2fs
EXTERN cm32_sdcc___ulong2fs
defc ___ulong2fs = cm32_sdcc___ulong2fs
|
; A019485: a(n) = 2*a(n-1) + 2*a(n-2) - 3*a(n-3).
; 2,5,12,28,65,150,346,797,1836,4228,9737,22422,51634,118901,273804,630508,1451921,3343446,7699210,17729549,40827180,94015828,216497369,498544854,1148036962,2643671525,6087782412,14018796988
add $0,2
seq $0,162740 ; Number of reduced words of length n in Coxeter group ... |
; A166942: One fifth of product plus sum of five consecutive nonnegative numbers.
; 2,27,148,509,1350,3031,6056,11097,19018,30899,48060,72085,104846,148527,205648,279089,372114,488395,632036,807597,1020118,1275143,1578744,1937545,2358746,2850147,3420172,4077893,4833054,5696095,6678176,7791201,9047842,10461563,12046644,... |
; A203623: Partial sums of A061395.
; 0,1,3,4,7,9,13,14,16,19,24,26,32,36,39,40,47,49,57,60,64,69,78,80,83,89,91,95,105,108,119,120,125,132,136,138,150,158,164,167,180,184,198,203,206,215,230,232,236,239,246,252,268,270,275,279,287
lpb $0
mov $2,$0
sub $0,1
seq $2,61395 ; Let p be the largest prime factor of n; ... |
; A123520: Number of vertical dominoes in all possible tilings of a 2n X 3 grid by dominoes.
; 4,28,152,744,3436,15284,66224,281424,1178196,4874444,19973192,81189688,327817404,1316035940,5257118560,20909651104,82849544868,327163551612,1288036695544,5057236343176,19807689093644,77408388584724,301898559042064,11752417542... |
; A151961: Semiperimeter of the n-th Heronian triangle.
; 3,6,21,78,291,1086,4053,15126,56451,210678,786261,2934366,10951203,40870446,152530581,569251878,2124476931,7928655846,29590146453,110431929966,412137573411,1538118363678,5740335881301,21423225161526,79952564764803,298387033897686,1113595570825941,415599524940607... |
/**
* UGENE - Integrated Bioinformatics Tools.
* Copyright (C) 2008-2020 UniPro <ugene@unipro.ru>
* http://ugene.net
*
* 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
* ... |
processor 18F8722
config OSC=HS, WDT=OFF, LVP=OFF
radix decimal
;Setting labels for LEDs SFR
LATF equ 0xF8E
TRISF equ 0xF97
;Setting labels for Transistor Q3 SFR
LATA equ 0xF89
TRISA equ 0xF92
;Setting labels for switches' four MSB SFR
PORTH equ 0xF87
LATH equ 0xF90
TRISH equ 0xF99
;Setting labels for switch... |
; A269112: a(n) = (3*(n-1)*n + (-1)^((n-1)*n/2) + 5)/2.
; 3,5,11,21,33,47,65,87,111,137,167,201,237,275,317,363,411,461,515,573,633,695,761,831,903,977,1055,1137,1221,1307,1397,1491,1587,1685,1787,1893,2001,2111,2225,2343,2463,2585,2711,2841,2973,3107,3245,3387,3531,3677,3827,3981,4137,4295,4457,4623,4791,4961,5135,531... |
; A188169: The number of divisors d of n of the form d == 1 (mod 8).
; 1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,2,2,1,1,1,1,1,1,2,1,2,1,1,1,1,1,2,2,1,2,1,1,1,1,2,1,1,1,2,1,1,1,2,2,2,1,1,2,1,1,2,1,1,1,1,1,2,1,2,2,1,2,1,1,1,2,2,1,2,1,1,1,1,1,3,2,1,1,2,1,1,1,2,2,1,1,1,1,1,1,2,2,3,2
mov $4,2
mov $6,$0
lpb $4
mov $0,$6
mov $3,0... |
override_great_fairy_cutscene:
; a0 = global context
; a2 = fairy actor
lw t0, 0x1D2C (a0) ; t0 = switch flags
li t1, 1
sll t1, t1, 0x18 ; t1 = ZL switch flag
and v0, t0, t1
beqz v0, @@return ; Do nothing until ZL is played
nop
lhu t2, 0x02DC (a2) ; Load fai... |
// C:\diabpsx\SOURCE\PREMSG.CPP
#include "types.h"
// address: 0x801526E0
// line start: 93
// line end: 290
void DeltaLoadLevel__Fv() {
// address: 0xFFFFFFB0
auto int i;
// register: 22
register int ii;
// address: 0xFFFFFFB8
// size: 0xF1C
auto struct DLevel *ThisLevel;
{
{
{
{
// register:... |
mac: macro
rot: ld a, 0
jp rot
endm
init: mac
end init
|
; A008522: Numbers that contain the letter `t'.
; 2,3,8,10,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77
mov $1,2
add $1,$0
mov $2,$0
lpb $0
mov $0,1
mul $1,2
tr... |
; A022409: a(n) = a(n-1) + a(n-2) + 1, with a(0)=3, a(1)=10.
; 3,10,14,25,40,66,107,174,282,457,740,1198,1939,3138,5078,8217,13296,21514,34811,56326,91138,147465,238604,386070,624675,1010746,1635422,2646169,4281592,6927762,11209355,18137118,29346474,47483593,76830068,124313662,201143731,325457394,526601126,852058521,13... |
; Read name / edit name (extended version) 1992 Jochen Merz V0.01
section wman
xdef wm_rname ; read name
xdef wm_ename ; edit name
include dev8_keys_k
include dev8_keys_err
include dev8_keys_qdos_io
;+++
; Read or edit name with extended edit... |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* ... |
; A004384: Binomial coefficient C(8n,n-3).
; 1,32,780,17296,367290,7624512,156238908,3176716400,64276915527,1296543270880,26100986351440,524780754733872,10542859559688820,211709328983644800,4250305029168216000,85323087086516197776
mov $1,$0
add $0,3
mul $0,8
bin $0,$1
|
; A037808: Number of i such that d(i)<d(i-1), where Sum{d(i)*10^i: i=0,1,...,m} is base 10 representation of n.
; 0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,1,0
seq $0,68159 ; a(n) = flo... |
; A053221: Row sums of triangle A053218.
; 1,5,16,43,106,249,568,1271,2806,6133,13300,28659,61426,131057,278512,589807,1245166,2621421,5505004,11534315,24117226,50331625,104857576,218103783,452984806,939524069,1946157028,4026531811,8321499106,17179869153,35433480160,73014443999,150323855326,309237645277,635655159772,13... |
; A140674: a(n) = n*(3*n + 17)/2.
; 0,10,23,39,58,80,105,133,164,198,235,275,318,364,413,465,520,578,639,703,770,840,913,989,1068,1150,1235,1323,1414,1508,1605,1705,1808,1914,2023,2135,2250,2368,2489,2613,2740,2870,3003,3139,3278,3420,3565,3713,3864,4018,4175,4335,4498,4664,4833,5005,5180,5358,5539,5723,5910,6100,6293,... |
;
; Copyright (c) Microsoft. All rights reserved.
; Licensed under the MIT license. See LICENSE file in the project root for full license information.
;
include <AsmMacros.inc>
include AsmConstants.inc
extern PreStubWorker:proc
extern ProcessCLRException:proc
NESTED_ENTRY ThePreStub, _TEXT, Proces... |
; /*****************************************************************************
; * ugBASIC - an isomorphic BASIC language compiler for retrocomputers *
; *****************************************************************************
; * Copyright 2021 Marco Spedaletti (asimov@mclink.it)
; *
; * Licensed un... |
; A241765: a(n) = n*(n + 1)*(n + 2)*(3*n + 17)/24.
; 0,5,23,65,145,280,490,798,1230,1815,2585,3575,4823,6370,8260,10540,13260,16473,20235,24605,29645,35420,41998,49450,57850,67275,77805,89523,102515,116870,132680,150040,169048,189805,212415,236985,263625,292448,323570,357110,393190,431935,473473,517935,565455,616170,67... |
###############################################################################
# Copyright 2018 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... |
; A239840: Number of ordered pairs of permutation functions (f,g) on n elements satisfying f(x) = f(g(g(x))).
; Submitted by Jon Maiga
; 1,1,4,24,240,3120,54720,1169280,30804480,950745600,34459084800,1424870092800,67133032243200,3540086232883200,208397961547776000,13533822947893248000,966773828738285568000,753343525577... |
#include <Thor/Framework/ThAssemblyVersionInfo.h>
static Thor::ThAssemblyVersionInfo s_AssemblyInfo(0, 1, 371, 0); |
;
;
; ZX Maths Routines
;
; 9/12/02 - Stefano Bodrato
;
; $Id: dlt.asm,v 1.5 2016/06/22 19:59:18 dom Exp $
;
IF FORzx
INCLUDE "zxfp.def"
ENDIF
IF FORzx81
INCLUDE "81fp.def"
ENDIF
IF FORlambda
INCLUDE "lambdafp.def"
ENDIF
SECTION code_fp
PUBLIC dlt
... |
Route22_Script:
call EnableAutoTextBoxDrawing
ld hl, Route22_ScriptPointers
ld a, [wRoute22CurScript]
jp CallFunctionInTable
Route22_ScriptPointers:
dw Route22Script0
dw Route22Script1
dw Route22Script2
dw Route22Script3
dw Route22Script4
dw Route22Script5
dw Route22Script6
dw Route22Script7
Route22Script... |
; A111873: The work performed by a partial function f:{1,...,n}->{1,...,n} is defined to be work(f)=sum(|i-f(i)|,i in dom(f)); a(n) is equal to sum(work(f)) where the sum is over all partial functions f:{1,...,n}->{1,...,n}.
; 0,6,128,2500,51840,1176490,29360128,803538792,24000000000,778122738030,27243640258560,1025115... |
; A259914: Staircase path through the array P(n,k) of the k-th partial sums of cubes (A000578).
; Submitted by Christian Krause
; 1,9,10,46,57,203,272,846,1200,3432,5082,13728,21021,54483,85696,215254,346086,848198,1388900,3337236,5549786,13119614,22108704,51557260,87885070,202588830,348817770,796117860,1382941125,3129... |
db 0 ; species ID placeholder
db 65, 90, 120, 60, 85, 70
; hp atk def spd sat sdf
db POISON, POISON ; type
db 60 ; catch rate
db 173 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 20 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/weezing/... |
;;
;; Copyright (c) 2020-2022, 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 %r11
push %r12
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x32b3, %rdi
nop
nop
xor %rax, %rax
mov (%rdi), %r11d
nop
sub %rbx, %rbx
lea addresses_D_ht+0x925, %rsi
lea addresses_WT_ht+0x191a5, %rdi
nop
nop
nop
cmp $30739, %r12
mov $115... |
; A005899: Number of points on surface of octahedron; also coordination sequence for cubic lattice: a(0) = 1; for n > 0, a(n) = 4n^2 + 2,
; 1,6,18,38,66,102,146,198,258,326,402,486,578,678,786,902,1026,1158,1298,1446,1602,1766,1938,2118,2306,2502,2706,2918,3138,3366,3602,3846,4098,4358,4626,4902,5186,5478,5778,6086,640... |
; A172132: Number of ways to place 2 nonattacking knights on an n X n board.
; 0,6,28,96,252,550,1056,1848,3016,4662,6900,9856,13668,18486,24472,31800,40656,51238,63756,78432,95500,115206,137808,163576,192792,225750,262756,304128,350196,401302,457800,520056,588448,663366,745212,834400,931356,1036518,1150336,1273272,140... |
; char *ultoa(unsigned long num, char *buf, int radix)
SECTION code_stdlib
PUBLIC _ultoa
EXTERN asm_ultoa
_ultoa:
pop af
pop hl
pop de
pop ix
pop bc
push bc
push hl
push de
push hl
push af
jp asm_ultoa
|
; A017001: a(n) = (7*n + 1)^9.
; 1,134217728,38443359375,1207269217792,14507145975869,101559956668416,502592611936843,1953125000000000,6351461955384057,18014398509481984,45848500718449031,106868920913284608,231616946283203125,472161363286556672,913517247483640899,1689478959002692096,3004041937984268273,5159780352000000... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0xa82e, %r10
xor %r9, %r9
vmovups (%r10), %ymm1
vextracti128 $0, %ymm1, %xmm1
vpextrq $0, %xmm1, %r13
nop
nop
nop
and $53821, %rbp
lea addresses_A_ht+0x19412, %rsi
lea addresse... |
; A292302: Expansion of (1 - x)*Sum_{k>=1} k*phi(k)*x^k/(1 - x^k), where phi() is the Euler totient function (A000010).
; 1,2,4,4,10,0,22,0,18,2,48,-34,80,-28,18,24,102,-90,160,-112,70,32,174,-206,220,-50,76,-74,340,-372,490,-248,94,42,84,-232,662,-304,70,-196,738,-738,904,-586,60,240,642,-966,904,-538,348,-184,1030,-1... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Geoworks 1996 -- All Rights Reserved
PROJECT:
MODULE:
FILE: genpcKbd.asm
AUTHOR: Todd Stumpf, Apr 26, 1996
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Description... |
COMMENT @-----------------------------------------------------------------------
Copyright (c) GeoWorks 1988 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: UserInterface/Gen
FILE: genTextDisplayClass.asm
ROUTINES:
Name Description
---- -----------
GLB GenTextDisplayClass TextDisplay object
... |
BITS 64
SECTION .data
Hello: db "Hello world!",10
len_Hello: equ $-Hello
SECTION .text
global _start
_start:
mov rax,1 ; write syscall (x86_64)
mov rdi,1 ; fd = stdout
mov rsi,Hello ; *buf = Hello
mov rdx,len_Hello ; count = len_Hello
syscall
mov rax,60 ; e... |
% Code generated by PREV compiler
SP GREG Stack_Segment
FP GREG #6100000000000000
HP GREG Data_Segment
LOC Data_Segment
_stevilo BYTE 0
L3 BYTE "JePrastevilo:",0
L4 BYTE "Najvecji: ",0
ReadSize IS 255
ReadArgs BYTE 0,ReadSize
% Code Segment
LOC #500
Main PUSHJ $8,_main
% STOPPING PROGRAM
TRAP 0,Halt,0
% Code for f... |
; void *tshc_saddrpleft(void *saddr, uchar bitmask)
SECTION code_clib
SECTION code_arch
PUBLIC _tshc_saddrpleft_callee
EXTERN _zx_saddrpleft_callee
defc _tshc_saddrpleft_callee = _zx_saddrpleft_callee
|
/**************************************************************\
* Author: Trevor Sundberg
* Copyright 2016, DigiPen Institute of Technology
\**************************************************************/
#pragma once
#ifndef ZILCH_FORMATTER_HPP
#define ZILCH_FORMATTER_HPP
namespace Zilch
{
// Lets us d... |
; A174928: Partial sums of A174927.
; 1,65,66,130,131,195,196,260,261,325,326,390,391,455,456,520,521,585,586,650,651,715,716,780,781,845,846,910,911,975,976,1040,1041,1105,1106,1170,1171,1235,1236,1300,1301,1365,1366,1430,1431,1495,1496,1560
mov $1,$0
mod $0,2
mov $2,$1
add $1,$0
mov $0,3
div $1,2
mul $1,7
mul $0,$1
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r13
push %rbp
push %rbx
push %rdi
lea addresses_UC_ht+0x1d909, %rdi
nop
nop
nop
xor %r10, %r10
mov $0x6162636465666768, %r13
movq %r13, %xmm6
and $0xffffffffffffffc0, %rdi
vmovntdq %ymm6, (%rdi)
nop
nop
nop
nop
nop
dec %r11
lea addresses_U... |
; The OS Alpha Kernel
; Copyright (C) 2021 Adam Judge
;
; File: floppy.asm
; Last modified: 25 May 2020
; Description: Floppy driver subroutines
; Variables
sectors_per_track dw 0
num_sides dw 0
; Read sectors from floppy into buffer
; Params: AX = start LBA, ES:BX = buffer, CX = number of LBAs
... |
;------------------------------------------------------------------------
;- Written by: Neviksti
;- This code was created as an example for Fancia of the zsnes boards.
;- I meant to add music ... but never got around to it.
;- ... sorry Fancia.
;-
;- Anyway, if anyone uses this code, please s... |
//KC03H99A JOB ,'ANDREW SLADE',MSGCLASS=H 00010023
//JSTEP01 EXEC PGM=ASSIST 00020023
//STEPLIB DD DSN=KC00NIU.ASSIST.LOADLIB,DISP=SHR 00030023
//SYSPRINT DD SYSOUT=* 00040... |
// used vars
// Commodore 64 PRG executable file
.file [name="unused-vars.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.segmentdef Code [start=$80d]
.segmentdef Data [startAfter="Code"]
.segment Basic
:BasicUpstart(main)
.label SCREEN = $40... |
_stressfs: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "fs.h"
#include "fcntl.h"
int
main(int argc, char *argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
int fd, i;
char path[] = "stressfs0";
7: b8 30 00 0... |
; A157263: a(n) = 1728*n - 1320.
; 408,2136,3864,5592,7320,9048,10776,12504,14232,15960,17688,19416,21144,22872,24600,26328,28056,29784,31512,33240,34968,36696,38424,40152,41880,43608,45336,47064,48792,50520,52248,53976,55704,57432,59160,60888,62616,64344,66072,67800,69528,71256,72984,74712,76440,78168,79896,81624,8335... |
; 3e02.asm
global main
section .text
main:
mov eax, 43 ; du contenu pair
bt eax, 0 ; pair ou impair?
jc _impair ; si EAX pair: MOV EBX, 0
mov ebx, 0
jmp _finsi ; sauter
_impair: ; si EAX impair: MOV EBX, 1
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x1a45c, %rsi
lea addresses_WT_ht+0xc05c, %rdi
nop
nop
nop
nop
dec %r11
mov $24, %rcx
rep movsw
nop
nop
nop
nop
sub %r15, %r15
lea addresses_normal_ht+0x1255c, %r8
nop
nop
nop
... |
%ifdef CONFIG
{
"RegData": {
"XMM0": ["0x0", "0x0"],
"XMM1": ["0xFEFEFEFEFEFEFEFE", "0xFDFDFDFDFDFDFDFD"],
"XMM2": ["0x0202020202020202", "0x0303030303030303"],
"XMM3": ["0xFEFEFEFE00000000", "0x03030303FD000300"]
}
}
%endif
mov rdx, 0xe0000000
mov rax, 0x0000000000000000
mov [rdx + 8 * 0], rax
mo... |
; Defined in isr.c
[extern isr_handler]
[extern irq_handler]
%macro create_isr_handler 1
isr%1:
cli
push byte %1
jmp isr_common_stub
%endmacro
%macro create_isr_handler_dummy_error_code 1
isr%1:
cli
push byte 0
push byte %1
jmp isr_common_stub
%en... |
; A190576: a(n) = n^2 + 5*n - 5.
; 1,9,19,31,45,61,79,99,121,145,171,199,229,261,295,331,369,409,451,495,541,589,639,691,745,801,859,919,981,1045,1111,1179,1249,1321,1395,1471,1549,1629,1711,1795,1881,1969,2059,2151,2245,2341,2439,2539,2641,2745,2851,2959,3069,3181,3295,3411,3529,3649,3771,3895,4021,4149,4279,4411,4545... |
; A017498: a(n) = (11*n + 9)^2.
; 81,400,961,1764,2809,4096,5625,7396,9409,11664,14161,16900,19881,23104,26569,30276,34225,38416,42849,47524,52441,57600,63001,68644,74529,80656,87025,93636,100489,107584,114921,122500,130321,138384,146689,155236,164025,173056,182329,191844,201601,211600,221841,232324,243049,254016,26522... |
SFX_Battle_1E_Ch4:
duty 0
pitchenvelope 3, -2
squarenote 4, 15, 2, 512
pitchenvelope 2, 2
squarenote 8, 14, 2, 512
pitchenvelope 0, 0
endchannel
SFX_Battle_1E_Ch7:
noisenote 0, 13, 1, 66
noisenote 4, 10, 1, 50
noisenote 0, 13, 1, 34
noisenote 6, 10, 1, 50
endchannel
|
// Copyright 2010 The Goma Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "log_cleaner.h"
#include <gtest/gtest.h>
namespace devtools_goma {
class LogCleanerTest : public testing::Test {
public:
LogCleanerTest() {
... |
.data
f: .word 0
g: .word 50
h: .word 40
i: .word 30
j: .word 20
.text
lw $s0, f
lw $s1, g
lw $s2, h
lw $s3, i
lw $s4, j
#t0 = g+h
add $t0, $s1, $s2
#t1 = i+j
add $t1, $s3, $s4
#f = t0 - t1
sub $s0, $t0, $t1
sw $s0, f
|
;
; Clear Graphics Screen
;
; MSX version by Stefano Bodrato, December 2007
;
; $Id: clg.asm,v 1.9 2015/01/19 01:32:49 pauloscustodio Exp $
;
PUBLIC clg
EXTERN msxbios
EXTERN msx_color
INCLUDE "graphics/grafix.inc"
IF FORmsx
INCLUDE "msxbios.def"
INCLUD... |
dnl ARM mpn_bdiv_dbm1c.
dnl Copyright 2008, 2011, 2012 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of either:
dnl
dnl * the GNU Lesser General Public License as published b... |
;C:\fasm\fasm.exe NtCreateThreadEx.asm NtCreateThreadEx.bin
;python bin2cbuffer.py NtCreateThreadEx.bin NtCreateThreadExCode
use64
mov rax, [gs:60h]
cmp dword [rax+120h], 10240
je build_10240
cmp dword [rax+120h], 10586
je build_10586
cmp dword [rax+120h], 14393
je build_14393
cmp dword [rax+120h], 15063
je build_1... |
map_header Route12Gate1F, ROUTE_12_GATE_1F, GATE, 0
end_map_header
|
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/bind.h"
#include "base/files/file_path.h"
#include "base/test/metrics/histogram_tester.h"
#include "build/build_config.h"
#include "chr... |
; A279080: Maximum starting value of X such that repeated replacement of X with X-ceiling(X/10) requires n steps to reach 0.
; 0,1,2,3,4,5,6,7,8,9,11,13,15,17,19,22,25,28,32,36,41,46,52,58,65,73,82,92,103,115,128,143,159,177,197,219,244,272,303,337,375,417,464,516,574,638,709,788,876,974,1083,1204,1338,1487,1653,1837,2... |
#include "parquet_reader.hpp"
#include "parquet_timestamp.hpp"
#include "parquet_file_metadata_cache.hpp"
#include "duckdb/function/table_function.hpp"
#include "duckdb/parser/parsed_data/create_table_function_info.hpp"
#include "duckdb/parser/parsed_data/create_copy_function_info.hpp"
#include "duckdb/main/client_con... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r15
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x117fd, %r14
nop
nop
nop
sub $8723, %r11
vmovups (%r14), %ymm3
vextracti128 $0, %ymm3, %xmm3
vpextrq $0, %xmm3, %r15
nop
nop
nop
xor $11407, %rbx
lea addresses_normal_ht+0x209... |
Name: zel_main.asm
Type: file
Size: 45599
Last-Modified: '2016-05-13T04:36:32Z'
SHA-1: 2AED73D9EC75C76F5BF7A75D9F01E045827F944A
Description: null
|
; #########################################################################
;
; DEMO Custom colour button
;
; Characteristics : Button with seperate UP and DOWN colours as started.
; Adjustments : Dynamic colour change, both TEXT and BUTTON colours.
; Dynamic alignment control. Default font ... |
%include "defines.inc"
section .bss
result resb 1
section .text
global _start
_start:
mov al, 5
mov bl, 3
or al, bl
add al, byte '0'
mov [result], al
mov ecx, result
mov edx, 1
print_stdout:
mov eax, SYS_WRITE
mov ebx, STDOUT
int 80h
sys_exit
|
COMMENT ` ---------------------------------------------------------------- )=-
-=( Natural Selection Issue #1 ---------------------------- Win32.Omoikane )=-
-=( ---------------------------------------------------------------------- )=-
-=( 0 : Win32.Omoikane Features ------------------------------------------... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x98b5, %rsi
lea addresses_D_ht+0x2950, %rdi
clflush (%rdi)
nop
and $5377, %r9
mov $33, %rcx
rep movsb
nop
nop
nop
nop
add %r12, %r12
lea addresses_WC_ht+0x11a68, %r15
and %rcx... |
# Swap two items on the stack
PUSH 4
STA A
PUSH 5
STA B
#Print the original values
LDA A
SYS 3
PUSH 32
SYS 4
POP
LDA B
SYS 3
PUSH 10
SYS 4
POP
# Here we do the swap
LDA A
LDA B
SWAP
STA A
STA B
# Now print top swap items
LDA A
SYS 3
PUSH 32
SYS 4
POP
LDA B
SYS 3
PUSH 10
SYS 4
POP
HL... |
; Author name: Julian Coronado
; Program title: Arrays
; Files in this program: driver.cpp, control.asm, square.cpp, display.c, compute_mean.asm, run.sh
; Course number: CPSC 240
; Assignment number: 3
; Required delivery date: Mar 7, 2019 before 11:59pm
; Purpose: Learn how arrays work and pass them through different ... |
; --COPYRIGHT--,BSD_EX
; Copyright (c) 2012, Texas Instruments Incorporated
; 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 source code must retain the ... |
;*****************************************************************************
;* SIMD-optimized MPEG encoding functions
;*****************************************************************************
;* Copyright (c) 2000, 2001 Fabrice Bellard
;* Copyright (c) 2002-2004 Michael Niedermayer <michaelni@gmx.at>
;*
;... |
;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 4.1.6 #12419 (Linux)
;--------------------------------------------------------
; Processed by Z88DK
;--------------------------------------------------------
EXTERN __divschar
EXTERN __divsc... |
; A233835: a(n) = 8*binomial(7*n + 8, n)/(7*n + 8).
; Submitted by Christian Krause
; 1,8,84,1008,13090,179088,2542512,37106784,553270671,8391423040,129058047580,2008018827360,31550226597162,499892684834368,7978140653296800,128138773298754240,2069603881026760323,33593111381834512200,547698081896206040800,89653305441640... |
bits 16 ; tell NASM this is 16 bit code
org 0x7c00 ; tell NASM to start outputting stuff at offset 0x7c00
; https://stackoverflow.com/questions/47277702/custom-bootloader-booted-via-usb-drive-produces-incorrect-output-on-some-compute
jmp start
resb 0x50
col DW 0
PRN DW 54321
colsTtl db 40 dup 0
colsMode db 40 dup 0
... |
; A184552: Super-birthdays (falling on the same weekday), version 4 (birth in the year preceding a February 29).
; 0,5,11,22,28,33,39,50,56,61,67,78,84,89,95,106,112,117,123,134,140,145,151,162,168,173,179,190,196,201,207,218,224,229,235,246,252,257,263,274,280,285,291,302,308,313,319,330,336,341,347,358,364,369,375,38... |
; TP-EXO1: Displays 'A'
pile segment para stack 'pile'
db 256 dup(0)
pile ends
data segment
; no variables
data ends
code segment
main proc far
assume cs:code
assume ds:data
assume ss:pile
mov ax, data
mov ds, ax
mov ah, 02h ; output character
mov dl, 'A' ; or ... |
; A345089: Averages of two consecutive odd-indexed odd primes.
; Submitted by Jamie Morken(s2)
; 8,14,20,27,36,44,53,63,70,78,90,100,106,118,132,143,153,162,173,185,194,204,219,230,237,249,263,273,280,295,310,322,339,350,360,373,384,395,410,425,435,444,455,464,477,493,504,516,535,555,567,579,593,603,612,624,637,648
mu... |
.text
.align 8
.globl callMemcpy
.type callMemcpy, @object
callMemcpy:
.Lc3:
movl 0(%r14),%eax
movl %eax,0(%rbx)
movl 4(%r14),%eax
movl %eax,4(%rbx)
movl 8(%r14),%eax
movl %eax,8(%rbx)
movl 12(%r14),%eax
movl %eax,12(%rbx)
jmp *(%rbp)
.size callMemcpy, .-callMemcpy
.section .note.GNU-stack,"",@progbits
.iden... |
/**
* Copyright 2020 Huawei Technologies Co., Ltd
*
* 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 required by applicable law... |
; A019743: Decimal expansion of e/6.
; Submitted by Jamie Morken(s4)
; 4,5,3,0,4,6,9,7,1,4,0,9,8,4,0,8,7,2,5,6,0,0,4,7,9,1,1,8,9,2,1,1,0,4,1,6,2,9,2,8,7,4,5,1,5,6,1,6,6,5,9,9,2,9,1,6,1,1,6,1,2,7,1,2,8,7,3,4,6,1,0,5,0,5,8,9,2,4,5,9,9,0,9,5,2,3,0,3,6,3,0,8,7,5,2,7,7,3,7,9
add $0,1
seq $0,11543 ; Decimal expansion of e t... |
%ifdef CONFIG
{
"RegData": {
"XMM0": ["0x3fd0000000000000", "0x5152535455565758"],
"XMM1": ["0x4010000000000000", "0x5152535455565758"],
"XMM2": ["0x3fe2000000000000", "0x5152535455565758"],
"XMM3": ["0x4030000000000000", "0x5152535455565758"],
"XMM4": ["0x4039000000000000", "0x51525354555657... |
Name: ys_mini1.asm
Type: file
Size: 174951
Last-Modified: '2016-05-13T04:50:38Z'
SHA-1: 170EA3870CFDF71F1B93D71B3BB353E83CDBEB6E
Description: null
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.