text stringlengths 1 1.05M |
|---|
; A182834: Complement of A007590, except for initial zeros.
; 1,3,5,6,7,9,10,11,13,14,15,16,17,19,20,21,22,23,25,26,27,28,29,30,31,33,34,35,36,37,38,39,41,42,43,44,45,46,47,48,49,51,52,53,54,55,56,57,58,59,61,62,63,64,65,66,67,68,69,70,71,73,74,75,76,77,78,79,80,81,82,83,85,86,87,88,89,90,91,92,93,94,95,96,97,99,100,10... |
//===---- SemaAccess.cpp - C++ Access Control -------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
//
// Created by ibelikov on 23.12.19.
//
#include "AnalogDrum.h"
|
[BITS 32]
global _start
_start:
;for the handle
xor edx, edx
mov edi, esp
mov dword [edi], edx
sub esp, 0x10 ;avoid handle being overwritten
;Prepare the key
; SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\Firewallpolicy\StandardProfile\GloballyOpenPorts\List
push 0x00747369
push 0x4c5c7374
pu... |
; uint in_KeyPressed(uint scancode)
; 02.2008 aralbrec
XLIB in_KeyPressed
; Determines if a key is pressed using the scan code
; returned by in_LookupKey.
; enter : l = scan row
; h = key mask
; exit : carry = key is pressed & HL = 1
; no carry = key not pressed & HL = 0
; used : AF,BC,HL
.in_KeyP... |
#include "extensions/retry/priority/previous_priorities/previous_priorities.h"
namespace Envoy {
namespace Extensions {
namespace Retry {
namespace Priority {
const Upstream::PriorityLoad& PreviousPrioritiesRetryPriority::determinePriorityLoad(
const Upstream::PrioritySet& priority_set,
const Upstream::Priorit... |
; A094330: Product of next n numbers divided by n.
; Submitted by Jon Maiga
; 1,3,40,1260,72072,6511680,852508800,152512113600,35730097603200,10613749905158400,3897631650008678400,1733625189541076832000,918381625086037787136000,571320549624154764994560000
mov $1,$0
add $1,2
mov $2,1
add $2,$0
bin $2,2
lpb $0
sub $0,... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x1e979, %rsi
lea addresses_WT_ht+0x16ed9, %rdi
nop
nop
nop
inc %rbx
mov $116, %rcx
rep movsq
nop
nop
nop
lfence
lea addresses_WC_ht+0xf179, %rdi
nop
nop
nop
add %r12, %r12
movb $0x61, (%rdi)
cmp %... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r8
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x4504, %rbp
nop
and $28271, %r8
mov $0x6162636465666768, %rbx
movq %rbx, %xmm1
movups %xmm1, (%rbp)
nop
nop
add %r8, %r8
lea addresses_WC_ht+0x195b8, %rsi
lea addresses_WC_ht+... |
Name: zel_enmy2.asm
Type: file
Size: 366508
Last-Modified: '2016-05-13T04:27:09Z'
SHA-1: 4FF220226013A57D654B3C3E8411A56C6DADE19D
Description: null
|
; A033297: Number of ordered rooted trees with n edges such that the rightmost leaf of each subtree is at even level. Equivalently, number of Dyck paths of semilength n with no return descents of odd length.
; 1,1,4,10,32,100,329,1101,3761,13035,45751,162261,580639,2093801,7601044,27756626,101888164,375750536,139151265... |
; A123394: Values X satisfying the equation 7(X-Y)^4-8XY=0, where X>=Y.
; Submitted by Christian Krause
; 0,64,54000,48387776,43449047520,39017102749504,35037312017058000,31463467090220398016,28254158407188855215040,25372202786113074403284544,22784209847768873321556750000,20460195071093594395998790974656,18373232389632... |
Map_2294B4: dc.w Frame_2294C8-Map_2294B4 ; ...
dc.w Frame_2294CC-Map_2294B4
dc.w Frame_2294DA-Map_2294B4
dc.w Frame_2294FA-Map_2294B4
dc.w Frame_229514-Map_2294B4
dc.w Frame_229540-Map_2294B4
Map_AIZDisappearingFloor2:
Map_2294C0: dc.w Frame_229566-Map_2294C0 ; ...
dc.w Frame_2295A4-Map_2294C0
dc.w Frame_... |
; A052716: E.g.f. (x+1-sqrt(1-6*x+x^2))/2.
; Submitted by Jon Maiga
; 0,2,4,36,528,10800,283680,9102240,345058560,15090727680,747888422400,41422381862400,2535569103513600,169983582318950400,12386182292118835200,974723523832041984000,82385641026424479744000
mov $2,$0
mov $4,2
lpb $4
sub $4,1
add $0,$4
sub $0,1
... |
/*
* The Apache Software License, Version 1.1
*
* Copyright (c) 1999-2000 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of ... |
; A131300: a(n) = 3*a(n-1) - 2*a(n-2) - a(n-3) + a(n-4) with n>3, a(0)=1, a(1)=2, a(2)=3, a(3)=7.
; 1,2,3,7,14,27,49,86,147,247,410,675,1105,1802,2931,4759,7718,12507,20257,32798,53091,85927,139058,225027,364129,589202,953379,1542631,2496062,4038747,6534865,10573670,17108595,27682327,44790986,72473379,117264433,1897378... |
; A051040: 5-Stohr sequence.
; 1,2,4,8,16,32,63,94,125,156,187,218,249,280,311,342,373,404,435,466,497,528,559,590,621,652,683,714,745,776,807,838,869,900,931,962,993,1024,1055,1086,1117,1148,1179,1210,1241,1272,1303,1334,1365,1396,1427
mov $2,$0
add $2,1
mov $4,$0
lpb $2,1
mov $0,$4
sub $2,1
sub $0,$2
mov $3,... |
; A239278: Smallest k > 1 such that n*(n+1)*...*(n+k-1) / (n+(n+1)+...+(n+k-1)) is an integer.
; 3,5,3,3,5,3,3,7,3,3,5,3,3,5,3,3,5,3,3,5,3,3,7,3,3,5,3,3,5,3,3,5,3,3,5,3,3,7,3,3,5,3,3,5,3,3,5,3,3,5,3,3,9,3,3,5,3,3,5,3,3,5,3,3,5,3,3,7,3,3,5,3,3,5,3,3,5,3,3,5,3,3,7,3,3,5,3,3,5,3,3,5,3,3,5,3,3,7,3
mul $0,2
seq $0,284723 ;... |
; A025744: Index of 10^n within sequence of numbers of form 6^i*10^j.
; Submitted by Jamie Morken(s3)
; 1,3,6,10,16,23,31,40,51,63,76,91,107,124,142,162,183,205,229,254,280,307,336,366,397,430,464,499,535,573,612,652,694,737,781,826,873,921,970,1021,1073,1126,1180,1236,1293,1351,1411,1472,1534,1597,1662,1728,1795
add ... |
; A124860: A Jacobsthal-Pascal triangle.
; Submitted by Jon Maiga
; 1,1,1,3,6,3,5,15,15,5,11,44,66,44,11,21,105,210,210,105,21,43,258,645,860,645,258,43,85,595,1785,2975,2975,1785,595,85,171,1368,4788,9576,11970,9576,4788,1368,171,341,3069,12276,28644
lpb $0
add $2,1
sub $0,$2
mov $1,2
lpe
pow $1,$2
div $1,3
mul... |
; A135260: Fibonacci Connell sequence: 1 odd, 1 even, 2 odd, 3 even, 5 odd, 8 even, ....
; 1,2,3,5,6,8,10,11,13,15,17,19,20,22,24,26,28,30,32,34,35,37,39,41,43,45,47,49,51,53,55,57,59,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,101,103,105,107,109,111,113,115,117,119,121,123,125
mov $2,$0
add $2,1
... |
SFX_Triangle1_2_Ch1:
unknownnoise0x20 0, 81, 42
endchannel
|
CLEAR_ALL:
MOV R2, #0h
MOV R3, #0h
MOV R4, #0h
MOV R5, #0h
MOV R6, #0h
MOV 70h, #0h
ACALL clearDisplay
CLR A
MOV R0, #127
ACALL CLEAR_RAM
|
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: ResEdit /Main
FILE: mainList.asm
AUTHOR: Cassie Hartzong, Feb 16, 1993
ROUTINES:
Name Description
---- -----------
REVISION HISTO... |
;Simple example of removing a directory with the rmdir API call. API calls found in this example program:
; rmdir, exit
; High level description of what theis example program does:
; Attempts ot remove the directory 'newdir' if it exists, using the rmdir API
; exits gracefully with exit().
section .text
global _start... |
/*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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
... |
;
; $Id: 0x1a.asm,v 1.1.1.1 2016/03/27 08:40:12 raptor Exp $
;
; 0x1a explanation - from xchg rax,rax by xorpd@xorpd.net
; Copyright (c) 2016 Marco Ivaldi <raptor@0xdeadbeef.info>
;
; This is another variation on the theme of the x86_64 call
; stack. This snippet manages to load into rax the address
; of the main.nex... |
BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=FLAG_OF
;TEST_FILE_META_END
; ROL32rCL
mov ebx, 0x4141
mov cl, 0x2
;TEST_BEGIN_RECORDING
rol ebx, cl
;TEST_END_RECORDING
|
map_header PokemonTower1F, POKEMON_TOWER_1F, CEMETERY, 0
end_map_header
|
%define CR0_PE (1 << 0)
%define CR0_MP (1 << 1)
%define CR0_EM (1 << 2)
%define CR0_TS (1 << 3)
%define CR0_WP (1 << 16)
%define CR0_PG (1 << 31)
%define PTE_PRESENT (1 << 0)
%define PTE_WRITE (1 << 1)
%define OUTTER_PGTBL 0x1000
%define INNER_PGTBL 0x2000
org 0x7c00
[bits 16]
... |
; A151907: Partial sums of A151906.
; 0,1,5,9,13,25,29,33,45,57,69,105,109,113,125,137,149,185,197,209,245,281,317,425,429,433,445,457,469,505,517,529,565,601,637,745,757,769,805,841,877,985,1021,1057,1165,1273,1381,1705,1709,1713,1725,1737,1749,1785,1797
mov $5,$0
mov $7,$0
lpb $7
clr $0,5
mov $0,$5
sub $7,1
... |
mov ecx,dword ptr ds:[1072A88]
lea eax,dword ptr ss:[ebp-18]
push eax
call aok hd.AE26F0
mov dword ptr ss:[ebp-4],5
mov eax,dword ptr ds:[eax]
mov dword ptr ss:[ebp-14],10
cmp dword ptr ds:[eax+380],0
jne aok hd.C2555B
mov eax,dword ptr ds:[ebx+64]
mov byte ptr ss:[ebp-D],1
cmp dword ptr ds:[eax+A20],1
jne ... |
extern exit
extern printf
SECTION .data
number: dq 78.21
str: db '%f', 10, 0
SECTION .bss
result: resq 1 ; Reserve 1 quad word for result
SECTION .text
GLOBAL _start
_start:
; Calculate square root.
fld qword [number] ; Load value into s0.
fsqrt ; Compute ... |
;
; feilipu, 2019 April
;
; 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/.
;
;------------------------------------------------------------------------------
IF __CPU... |
; A100052: A Chebyshev transform of the odd numbers.
; 1,3,3,-2,-9,-9,2,15,15,-2,-21,-21,2,27,27,-2,-33,-33,2,39,39,-2,-45,-45,2,51,51,-2,-57,-57,2,63,63,-2,-69,-69,2,75,75,-2,-81,-81,2,87,87,-2,-93,-93,2,99,99,-2,-105,-105,2,111,111,-2,-117,-117
mov $1,$0
sub $1,1
mov $2,$0
mov $3,1
lpb $2,1
add $3,$2
add $3,$1
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x6a5f, %rax
nop
nop
nop
nop
nop
dec %rcx
mov (%rax), %r10d
nop
cmp $45806, %r12
lea addresses_D_ht+0x9a5, %rbx
nop
nop
nop
nop
nop
xor %r12, %r12
movw $0x6162, (%rb... |
; A071325: Number of squares > 1 dividing n.
; 0,0,0,1,0,0,0,1,1,0,0,1,0,0,0,2,0,1,0,1,0,0,0,1,1,0,1,1,0,0,0,2,0,0,0,3,0,0,0,1,0,0,0,1,1,0,0,2,1,1,0,1,0,1,0,1,0,0,0,1,0,0,1,3,0,0,0,1,0,0,0,3,0,0,1,1,0,0,0,2,2,0,0,1,0,0,0,1,0,1,0,1,0,0,0,2,0,1,1,3
seq $0,57918 ; Number of pairs of numbers (a,b) each less than n where (... |
; Compile with command and run: nasm -felf64 project.asm && gcc -no-pie project.o && ./a.out
global main ; for gcc standard linking
extern printf
%macro mac_a 1
section .data
.str db %1,0
section .text
mov rdi, fmt2
... |
; A267851: Decimal representation of the n-th iteration of the "Rule 229" elementary cellular automaton starting with a single ON (black) cell.
; 1,2,30,126,510,2046,8190,32766,131070,524286,2097150,8388606,33554430,134217726,536870910,2147483646,8589934590,34359738366,137438953470,549755813886,2199023255550,8796093022... |
;
; Spectrum C Library
;
; ANSI Video handling for ZX Spectrum
;
; Text Attributes
; m - Set Graphic Rendition
;
; The most difficult thing to port:
; Be careful here...
;
; Stefano Bodrato - Apr. 2000
;
;
; $Id: f_ansi_attr.asm,v 1.2 2002/10/10 22:03:26 dom Exp $
;
XLIB ansi_attr
XDEF text_attr
; 0 = res... |
; A006588: a(n) = 4^n*(3*n)!/((2*n)!*n!).
; 1,12,240,5376,126720,3075072,76038144,1905131520,48199827456,1228623052800,31504481648640,811751838842880,20999667135283200,545086744471535616,14189559697354260480,370298578584748425216,9684502341534993088512,253765034617761850982400,6660727956252872964833280,1750928202440300... |
; A241976: Values of k such that k^2 + (k+3)^2 is a square.
; 0,9,60,357,2088,12177,70980,413709,2411280,14053977,81912588,477421557,2782616760,16218279009,94527057300,550944064797,3211137331488,18715879924137,109084142213340,635788973355909,3705649697922120,21598109214176817
mul $0,2
lpb $0,1
sub $0,1
add $3,6
... |
; Copyright (c) 2004, Intel Corporation. All rights reserved.<BR>
; This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distribution. The full text of the license may be found at ... |
// Copyright (c) 1991-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* License); you ma... |
;; variable base, 10
;; variable immediate_dict, 0
;; variable dict, 0
;; variable *mark*, 0
;; variable *state*, 0
;; variable *status*, 0
;; variable *tokenizer*, 0
defop eip
pop rax
push eval_ip
push rax
ret
defop peek_byte
mov rax, [rsp+ptrsize]
mov al, [rax]
mov [rsp+ptrsize], rax
ret
;;;
;;... |
Name: zel_comn.asm
Type: file
Size: 108727
Last-Modified: '2016-05-13T04:36:32Z'
SHA-1: 6928765255F3E0A3F4D61BA4D72ADC57371FE3DF
Description: null
|
; A125723: Greatest common divisor of n^6 and 6^n.
; Submitted by Jamie Morken(s2.)
; 1,4,27,16,1,46656,1,256,19683,64,1,2985984,1,64,729,65536,1,34012224,1,4096,729,64,1,191102976,1,64,387420489,4096,1,46656,1,1073741824,729,64,1,2176782336,1,64,729,262144,1,46656,1,4096,531441,64,1,12230590464
add $0,1
mov $2,6
pow ... |
dnl x86 calling conventions checking.
dnl Copyright 2000, 2003 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 can redistribute it and/or
dnl modify it under the terms of the GNU Lesser General Public License as
dnl published by the... |
copyright zengfr site:http://github.com/zengfr/romhack
004D04 move.b D0, ($6bdd,A5)
004D08 moveq #-$1, D0
016CC4 move.b ($6bdd,A5), D2
016CC8 rts [base+6BDD]
016CE0 move.b D2, ($6bdd,A5)
016CE4 rts [base+6BDD]
copyright zengfr site:http://github.com/zengfr/romhack
|
RESULTS_START EQU $c000
RESULTS_N_ROWS EQU 18
include "base.inc"
CorrectResults:
db $00, $00, $00, $F0, $F0, $F0, $F0, $F0 ; $09, affected
db $00, $00, $F0, $F0, $F0, $F0, $F0, $F0 ; $18, not affected
db $00, $00, $00, $F0, $F0, $F0, $F0, $F0 ; $0a, affected
db $00, $00, $00, $00, $F0, $F0, $F0, $F0 ; $28, not affec... |
// Copyright (c) 2011-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include "config/pptp-config.h"
#endif
#include "optionsdialog.h"
#include "ui_optionsdialog.h"
... |
/*Exercise 3 - Repeatition
Convert the C program given below which calculates the Factorial of a number that you input from the keyboard to a C++ program.
Please Note that the input command in C++ is std::cin. This is a representation of the Keyboard.*/
#include <iostream>
using namespace std;
int main()
{
int n... |
; **************************************************
; PSGlib - C programming library for the SEGA PSG
; ( part of devkitSMS - github.com/sverx/devkitSMS )
; **************************************************
INCLUDE "PSGlib_private.inc"
SECTION code_clib
SECTION code_PSGlib
PUBLIC asm_PSGlib_SilenceChannels
EXTERN... |
; A127189: E.g.f.: sqrt((1+4*x)/(1+2*x)).
; Submitted by Christian Krause
; 1,1,-5,39,-423,5985,-105885,2269575,-57475215,1684565505,-56176247925,2101511463975,-87163146984375,3969387329933025,-196863216968342925,10560219055989978375,-609129291476291961375,37591662102746977850625,-2471292534125033454961125
mov $2,1
lp... |
// Copyright 2021 Tier IV, Inc. All rights reserved.
//
// 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 applicab... |
; A058482: Number of 3 X n binary matrices with no zero rows or columns.
; 1,25,265,2161,16081,115465,816985,5745121,40294561,282298105,1976795305,13839692881,96884227441,678208723945,4747518463225,33232801429441,232630126566721,1628412435648985,11398891698588745,79792255837258801
lpb $0,1
mov $2,$0
cal $2,190541 ... |
; ===============================================================
; Mar 2014
; ===============================================================
;
; size_t wa_priority_queue_size(wa_priority_queue_t *q)
;
; Return the size of the queue in words.
;
; ===============================================================
SECTI... |
; ==============================================================
; Additional macros by LB
; ==============================================================
include "equates.asm"
include "six-macros.asm"
; ==============================================================
; Macro to position the cursor
; ============... |
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %r9
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x1a210, %rbx
nop
nop
dec %rdx
mov $0x6162636465666768, %r9
movq %r9, (%rbx)
sub $42843, %r14
lea addresses_normal_ht+0x4aa8, %r15
nop
nop
nop
nop
add %rbp,... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0xd1c4, %r10
nop
nop
dec %r8
mov (%r10), %rax
nop
nop
nop
add %r11, %r11
lea addresses_normal_ht+0xf4a4, %r8
nop
nop
nop
nop
nop
and $26659, %r9
mov $0x6... |
//---------------------------------------------------------------------------//
//!
//! \file MonteCarlo_NeutronScatteringReaction.cpp
//! \author Alex Robinson
//! \brief The neutron-in, neutron-out reaction class definition
//!
//---------------------------------------------------------------------------//
// FRE... |
; A082528: Least k such that x(k)=0 where x(1)=n x(k)=k^3*floor(x(k-1)/k^3).
; 1,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,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
mov $2,3
mov $3,2
lpb $3,1
a... |
START:
CPL C
SJMP START |
;++
;Module Name
; imca.asm
;
;Abstract:
; Assembly support needed for Intel MCA
;
; Author:
; Anil Aggarwal (Intel Corp)
;
;Revision History:
;
;
;--
.586p
.xlist
include hal386.inc
include callconv.inc
include i386\kimacro.inc
.list
EXTRNP _HalpMcaExceptionHandle... |
COMMENT @----------------------------------------------------------------------
Copyright (c) GeoWorks 1989 -- All Rights Reserved
PROJECT: Preferences
MODULE: Link
FILE: prefLink.asm
AUTHOR: Chris Boyke
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Description... |
; A304274: The concatenation of the first n elements is the largest positive even number with n digits when written in base 3/2.
; 2,1,2,2,1,1,1,2,2,1,2,1,1,2,2,1,2,1,2,1,1,2,2,1,2,1,1,2,1,2,1,1,1,1,1,2,2,1,2,1,1,1,1,1,1,1,2,1,2,2,2,2,2,1,1,2,2,1,2,1,2,2,1,2,1,2,1,1,2,1,1,2,2,2,2,1,2,2,1,2,2,2,2,2,2,1,2,1,1,1,1,1,2,2,1... |
/*
www.sourceforge.net/projects/tinyxml
Original code (2.0 and earlier )copyright (c) 2000-2006 Lee Thomason (www.grinninglizard.com)
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any
damages arising from the use of this software.
Permissio... |
section .text
extern gc.alloc_
global gc.alloc
gc.alloc:
lea rdx, [rsp-8] ; Pass stack pointer as 3rd arg (-8 so we point to the base pointer)
jmp gc.alloc_ ; Tail call
extern gc.gc_
global gc.gc
gc.gc:
lea rdi, [rsp-8] ; Pass stack pointer as 1st arg (-8 so we point to the base pointer)
jmp gc.gc_ ; Tail call
gl... |
; main.asm
; Copyright 2019-2020 Robin Verhagen-Guest
;
; 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 la... |
/*
* Copyright (C) 2000 Harri Porten (porten@kde.org)
* Copyright (c) 2000 Daniel Molkentin (molkentin@kde.org)
* Copyright (c) 2000 Stefan Schimanski (schimmi@kde.org)
* Copyright (C) 2003, 2004, 2005, 2006 Apple Computer, Inc.
* Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
*
* This li... |
; ML64 template file
; Compile: uasm64.exe -nologo -win64 -Zd -Zi -c testUasm.asm
; Link: link /nologo /debug /subsystem:console /entry:main testUasm.obj user32.lib kernel32.lib
OPTION WIN64:8
; Include libraries
includelib SDL2.lib
includelib SDL2main.lib
includelib SDL2_image.lib
includelib SDL2_ttf.lib
includelib... |
;@DOES copies the back buffer to the lcd
;@DESTROYS HL,DE,BC
gfx_BlitBuffer:
ld hl,LCD_BUFFER
ld de,LCD_VRAM
ld bc,LCD_WIDTH * LCD_HEIGHT
ldir
ret
|
; void __CALLEE__ *im2_CreateGenericISR_callee(uchar numhooks, void *addr)
; 04.2004 aralbrec
PUBLIC im2_CreateGenericISR_callee
PUBLIC ASMDISP_IM2_CREATEGENERICISR_CALLEE
EXTERN IM2CreateCommon
.im2_CreateGenericISR_callee
pop hl
pop de
pop bc
push hl
ld a,c
.asmentry
; enter: a = maximum number ... |
kernel: file format elf32-i386
Disassembly of section .text:
80100000 <multiboot_header>:
80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh
80100006: 00 00 add %al,(%eax)
80100008: fe 4f 52 decb 0x52(%edi)
8010000b: e4 0f in $0xf,%al
8010000c <entry>:... |
[BITS 32]
global _SwitchAndExecute64bitKernel
SECTION .data ; ํ
์คํธ ์น์
์ด ๋์ด์ผ ํ์ง๋ง ํธ๋ฒ์ผ๋ก ๋ฐ์ดํฐ์น์
์ ์์น์ํจ๋ค.
; ํ
์คํธ ์น์
์ผ๋ก ์ค์ ํ ๊ฒฝ์ฐ ์ด์
๋ธ๋ฆฌ ์ค๋ธ์ ํธ๊ฐ ํ๋ก๊ทธ๋จ ์๋จ์ ๋ฐฐ์น๋๋ ๊ฑธ ๋ง์ ๋ฐฉ๋ฒ์ด ์๊ธฐ ๋๋ฌธ์ด๋ค.
; IA-32e ๋ชจ๋๋ก ์ ํํ๊ณ 64๋นํธ ์ปค๋์ ์ํ
; PARAM: INT pmt4EntryAddress, INT kernelAddress, void* grubInfo
_SwitchAndExecute64bitKernel:
... |
; A118830: 2-adic continued fraction of zero, where a(n) = -1 if n is odd, 2*A006519(n/2) otherwise.
; -1,2,-1,4,-1,2,-1,8,-1,2,-1,4,-1,2,-1,16,-1,2,-1,4,-1,2,-1,8,-1,2,-1,4,-1,2,-1,32,-1,2,-1,4,-1,2,-1,8,-1,2,-1,4,-1,2,-1,16,-1,2,-1,4,-1,2,-1,8,-1,2,-1,4,-1,2,-1,64,-1,2,-1,4,-1,2,-1,8,-1,2,-1,4,-1,2,-1,16,-1,2,-1,4,-1... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Dolphin Smalltalk
; External Buffer Primitive routines and helpers in Assembler for IX86
;
; See also flotprim.cpp, as the floating point buffer accessing primitives
; (rarely used by anybody except Mr Bower [and therefore unimportant, te... |
/*
* 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... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r8
push %r9
push %rbp
push %rcx
push %rdx
lea addresses_WC_ht+0xaf41, %r9
nop
nop
nop
nop
nop
cmp $5064, %rbp
mov $0x6162636465666768, %rdx
movq %rdx, (%r9)
nop
nop
nop
dec %r9
lea addresses_WT_ht+0xb741, %rdx
nop
nop
inc %r9
movb $0x61, (%rdx)
nop
... |
; Draws the spellbook displaying spell runes in place of reagent counts on
; spells if the Shift key is held.
startPatch EXE_LENGTH, printRuneTextOnSpellbook
%macro SpellbookDialog_update_stackFrame 0
%assign .arg_pn_viewport 0x08
%assign .var_x -0x08
%assign .var_y -0x0A
... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Geoworks 1994 -- All Rights Reserved
GEOWORKS CONFIDENTIAL
PROJECT: Network extensions
MODULE: socket library
FILE: socketPacket.asm
AUTHOR: Eric Weber, May 23, 1994
ROUTINES:
Name Description
---- -... |
Name: kart-bg.asm
Type: file
Size: 18428
Last-Modified: '1992-08-30T15:00:00Z'
SHA-1: 30C401A474CDCEE6B642AFF789BD0F5E6269A6E1
Description: null
|
###############################################################################
# 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... |
; A319288: a(n) is the smallest k such that A319284(n, k) >= A319284(n, j) for all 0 <= j <= n.
; 0,0,1,1,2,3,4,5,5,6,7,8,9,10,11,11,12,13,14,15
lpb $0,1
add $1,$0
add $2,2
trn $0,$2
sub $1,$0
trn $0,1
lpe
trn $1,1
|
; asm_isupper
PUBLIC asm_isupper
; determine if the char is in [A-Z]
; enter : a = char
; exit : carry = not upper
; uses : f
.asm_isupper
cp 'A'
ret c
cp 'Z'+1
ccf
ret
|
; A111940: Triangle P, read by rows, that satisfies [P^-1](n,k) = P(n+1,k+1) for n >= k >= 0, with P(k,k)=1 and P(k+1,1)=P(k+1,0) for k >= 0, where [P^-1] denotes the matrix inverse of P.
; Submitted by Jon Maiga
; 1,1,1,-1,-1,1,0,0,1,1,0,0,-1,-1,1,0,0,0,0,1,1,0,0,0,0,-1,-1,1,0,0,0,0,0,0,1,1,0,0,0,0,0,0,-1,-1,1,0,0,0,0... |
;--------------------------------------------------------
; File Created by SDCC : FreeWare ANSI-C Compiler
; Version 2.3.1 Sat Apr 16 13:54:03 2011
;--------------------------------------------------------
.module digits
;--------------------------------------------------------
; Public variables in this module
;-... |
; This function is used to wait a short period after printing a letter to the
; screen unless the player presses the A/B button or the delay is turned off
; through the [wd730] or [wLetterPrintingDelayFlags] flags.
PrintLetterDelay::
ld a, [wd730]
bit 6, a
ret nz
ld a, [wLetterPrintingDelayFlags]
bit 1, a
ret z
... |
; tested on 32bit Ubuntu lts 12.04
global _start
; text section of the program
; This section is supposed to have hold instructions
section .text
; _start is the assembly equivalent of the main() of java or C
_start:
; we'll use systemcalls to print to the screen
; unistd_32.h contains a list of systemcall number... |
๏ปฟ/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/mediapackage/model/UtcTiming.h>
#include <aws/core/utils/HashingUtils.h>
#include <aws/core/Globals.h>
#include <aws/core/utils/EnumParseOverflowContainer.h>
using namespace Aws::Utils;... |
; A230595: Number of ways to write n as n = x*y, where x and y are primes, 1 <= x <= n, 1 <= y <= n.
; Submitted by Christian Krause
; 0,0,0,1,0,2,0,0,1,2,0,0,0,2,2,0,0,0,0,0,2,2,0,0,1,2,0,0,0,0,0,0,2,2,2,0,0,2,2,0,0,0,0,0,0,2,0,0,1,0,2,0,0,0,2,0,2,2,0,0,0,2,0,0,2,0,0,0,2,0,0,0,0,2,0,0,2,0,0,0,0,2,0,0,2,2,2,0,0,0,2,0,2... |
; size_t strrcspn(const char *str, const char *cset)
SECTION code_string
PUBLIC strrcspn
EXTERN asm_strrcspn
strrcspn:
pop af
pop de
pop hl
push hl
push de
push af
jp asm_strrcspn
|
; multi-line
#ruledef
{
emit {x: i8} => 0x11 @ x
load {x: i8} => 0x22 @ x
test {x} => asm
{
emit x
emit 0xff
load x
}
}
test 0x12 ; = 0x1112_11ff_2212 |
// Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
//
// 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 require... |
; A267453: Number of OFF (white) cells in the n-th iteration of the "Rule 131" elementary cellular automaton starting with a single ON (black) cell.
; Submitted by Jon Maiga
; 0,2,3,5,5,8,7,10,11,12,12,16,15,17,18,20,20,23,22,25,26,27,27,31,30,32,33,35,35,38,37,40,41,42,42,46,45,47,48,50,50,53,52,55,56,57,57,61,60,62,6... |
; Copyright (C) 2018 cmp
; Licensed under the ISC License
; Check the LICENSE file that
; was distributed with this copy.
;forked for the shirt lmao
bits 16 ; x86 considered harmful
org 0x7c00 ; We land here
jmp short start ; Jump to the useful bit
error: db "Something happen... |
org $00100000
init:
moveq #$43,d0
move.b d0,$00AFA000
bra init
|
#include "port_cpu.inc"
NAME ?bsp_vect
EXTERN _int_dummy
EXTERN _krhino_tick_proc
PUBLIC SOC_WDTI
PUBLIC SOC_LVI
PUBLIC SOC_P0
PUBLIC SOC_P1
PUBLIC SOC_P2
PUBLIC SOC_P3
PUBLIC SOC_P4
PUBLIC SOC_P5
PUBLIC SOC_ST2_CSI20_IIC20
PUBLIC SOC_SR2_CSI20_IIC2... |
// Copyright 2017-2021 Closed Sum Games, LLC. All Rights Reserved.
#include "Managers/Time/Script/CsScriptLibrary_Manager_Time.h"
#include "CsCore.h"
// Library
#include "Managers/Time/CsLibrary_Manager_Time.h"
namespace NCsScriptLibraryManagerTime
{
namespace NCached
{
namespace Str
{
CS_DEFINE_CACHED_FUNCT... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.